|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Inheritance diagram for ilSoapUserAdministration:
Collaboration diagram for ilSoapUserAdministration:Public Member Functions | |
| login ($client, $username, $password) | |
| Soap login @global type $ilUser. More... | |
| loginCAS ($client, $PT, $username) | |
| loginLDAP ($client, $username, $password) | |
| Not required anymode. More... | |
| loginStudipUser ($sid, $user_id) | |
| login as user from Stud.IP More... | |
| logout ($sid) | |
| Logout user destroy session. More... | |
| lookupUser ($sid, $user_name) | |
| getUser ($sid, $user_id) | |
| deleteUser ($sid, $user_id) | |
| __readUserData (\ilObjUser &$usr_obj) | |
| importUsers ($sid, $folder_id, $usr_xml, $conflict_rule, $send_account_mail) | |
| define ("IL_FAIL_ON_CONFLICT", 1); define ("IL_UPDATE_ON_CONFLICT", 2); define ("IL_IGNORE_ON_CONFLICT", 3); More... | |
| getUsersForContainer ($sid, $ref_id, $attachRoles, $active) | |
| return list of users following dtd users_3_7 More... | |
| getUserForRole ($sid, $role_id, $attachRoles, $active) | |
| __getImportProtocolAsXML ($a_array) | |
| Create XML ResultSet. More... | |
| __getUserMappingAsXML ($a_array) | |
| return user mapping as xml More... | |
| searchUser ($sid, $a_keyfields, $query_operator, $a_keyvalues, $attach_roles, $active) | |
| return user xml following dtd 3.7 More... | |
| __buildSearchQuery ($a_keyfields, $queryOperator, $a_keyvalues) | |
| create search term according to parameters More... | |
| getUserXML ($sid, $a_user_ids, $attach_roles) | |
| return user xmls for given user ids (csv separated ids) as xml based on usr dtd. More... | |
| hasNewMail ($sid) | |
| getUserIdBySid ($sid) | |
Public Member Functions inherited from ilSoapAdministration | |
| __construct ($use_nusoap=true) | |
| Constructor. More... | |
| initErrorWriter () | |
| Overwrite error handler. More... | |
| __explodeSid ($sid) | |
| __setMessage ($a_str) | |
| __getMessage () | |
| __appendMessage ($a_str) | |
| __setMessageCode ($a_code) | |
| __getMessageCode () | |
| initAuth ($sid) | |
| Init authentication. More... | |
| initIlias () | |
| __initAuthenticationObject ($a_auth_mode=AUTH_LOCAL) | |
| __raiseError ($a_message, $a_code) | |
| getNIC ($sid) | |
| get client information from current as xml result set More... | |
| isFault ($object) | |
| checkObjectAccess ($ref_id, $expected_type, $permission, $returnObject=false) | |
| check access for ref id: expected type, permission, return object instance if returnobject is true More... | |
| getInstallationInfoXML () | |
| getClientInfoXML ($clientid) | |
Protected Member Functions | |
| isPermittedRole ($a_folder, $a_role) | |
| check if assignment is allowed More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilSoapAdministration | |
| static | return_bytes ($val) |
| calculate bytes from K,M,G modifiers e.g: 8M = 8 * 1024 * 1024 bytes More... | |
Data Fields inherited from ilSoapAdministration | |
| $sauth = null | |
| $error_method = null | |
Protected Attributes inherited from ilSoapAdministration | |
| $soap_check = true | |
Definition at line 35 of file class.ilSoapUserAdministration.php.
| ilSoapUserAdministration::__buildSearchQuery | ( | $a_keyfields, | |
| $queryOperator, | |||
| $a_keyvalues | |||
| ) |
create search term according to parameters
| array | of string $a_keyfields | |
| string | $queryOperator | |
| array | of string $a_keyValues |
Definition at line 982 of file class.ilSoapUserAdministration.php.
References $DIC, $ilDB, and $query.
Referenced by searchUser().
Here is the caller graph for this function:| ilSoapUserAdministration::__getImportProtocolAsXML | ( | $a_array | ) |
Create XML ResultSet.
Definition at line 827 of file class.ilSoapUserAdministration.php.
References $message, $messages, and ilSoapAdministration\__raiseError().
Referenced by importUsers().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSoapUserAdministration::__getUserMappingAsXML | ( | $a_array | ) |
return user mapping as xml
| array | (user_id => login) $a_array |
Definition at line 865 of file class.ilSoapUserAdministration.php.
References $message, and ilSoapAdministration\__raiseError().
Referenced by importUsers().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSoapUserAdministration::__readUserData | ( | \ilObjUser & | $usr_obj | ) |
Definition at line 322 of file class.ilSoapUserAdministration.php.
References ilObjUser\getActive(), ilObjUser\getApproveDate(), ilObjUser\getAuthMode(), ilObjUser\getCity(), ilObjUser\getComment(), ilObjUser\getCountry(), ilObject\getCreateDate(), ilObjUser\getDepartment(), ilObjUser\getEmail(), ilObjUser\getFax(), ilObjUser\getFirstname(), ilObjUser\getGender(), ilObjUser\getHobby(), ilObject\getId(), ilObject\getImportId(), ilObjUser\getInstitution(), ilObjUser\getLanguage(), ilObjUser\getLastLogin(), ilObjUser\getLastname(), ilObjUser\getLastUpdate(), ilObjUser\getLogin(), ilObjUser\getMatriculation(), ilObjUser\getPasswd(), ilObjUser\getPasswdType(), ilObjUser\getPhoneHome(), ilObjUser\getPhoneMobile(), ilObjUser\getPhoneOffice(), ilObjUser\getPref(), ilObjUser\getSecondEmail(), ilObjUser\getStreet(), ilObjUser\getTimeLimitFrom(), ilObjUser\getTimeLimitMessage(), ilObjUser\getTimeLimitOwner(), ilObjUser\getTimeLimitUnlimited(), ilObjUser\getTimeLimitUntil(), ilObjUser\getUTitle(), ilObjUser\getZipcode(), and ilObjUser\hasToAcceptTermsOfService().
Referenced by getUser().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSoapUserAdministration::deleteUser | ( | $sid, | |
| $user_id | |||
| ) |
Definition at line 282 of file class.ilSoapUserAdministration.php.
References $DIC, $ilUser, $log, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjectFactory\getInstanceByObjId(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and USER_FOLDER_ID.
Here is the call graph for this function:| ilSoapUserAdministration::getUser | ( | $sid, | |
| $user_id | |||
| ) |
| $sid | |
| $user_id |
Definition at line 245 of file class.ilSoapUserAdministration.php.
References $DIC, $ilUser, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), __readUserData(), ilObjectFactory\getInstanceByObjId(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and USER_FOLDER_ID.
Here is the call graph for this function:| ilSoapUserAdministration::getUserForRole | ( | $sid, | |
| $role_id, | |||
| $attachRoles, | |||
| $active | |||
| ) |
Definition at line 747 of file class.ilSoapUserAdministration.php.
References $data, $DIC, $ilDB, $ilUser, $type, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjUser\_getUsersForRole(), ilObject\_lookupType(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and USER_FOLDER_ID.
Here is the call graph for this function:| ilSoapUserAdministration::getUserIdBySid | ( | $sid | ) |
Definition at line 1091 of file class.ilSoapUserAdministration.php.
References $data, $DIC, $ilDB, $query, $res, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
Here is the call graph for this function:| ilSoapUserAdministration::getUsersForContainer | ( | $sid, | |
| $ref_id, | |||
| $attachRoles, | |||
| $active | |||
| ) |
return list of users following dtd users_3_7
Definition at line 658 of file class.ilSoapUserAdministration.php.
References $data, $DIC, $ilDB, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjUser\_getUsersForFolder(), ilObjUser\_getUsersForGroup(), ilObjUser\_getUsersForIds(), ilObject\_lookupObjId(), ilSoapAdministration\checkObjectAccess(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), ilSoapAdministration\isFault(), and USER_FOLDER_ID.
Here is the call graph for this function:| ilSoapUserAdministration::getUserXML | ( | $sid, | |
| $a_user_ids, | |||
| $attach_roles | |||
| ) |
return user xmls for given user ids (csv separated ids) as xml based on usr dtd.
| string | sid session id |
| string | a_userids array of user ids, may be numeric or ilias ids |
| boolean | attachRoles if true, role assignments will be attached, nothing will be done otherwise |
Definition at line 1020 of file class.ilSoapUserAdministration.php.
References $data, $DIC, $ilDB, $ilUser, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjUser\_getUserData(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and USER_FOLDER_ID.
Here is the call graph for this function:| ilSoapUserAdministration::hasNewMail | ( | $sid | ) |
Definition at line 1071 of file class.ilSoapUserAdministration.php.
References $DIC, $ilUser, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilMailGlobalServices\getNewMailsData(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
Here is the call graph for this function:| ilSoapUserAdministration::importUsers | ( | $sid, | |
| $folder_id, | |||
| $usr_xml, | |||
| $conflict_rule, | |||
| $send_account_mail | |||
| ) |
define ("IL_FAIL_ON_CONFLICT", 1); define ("IL_UPDATE_ON_CONFLICT", 2); define ("IL_IGNORE_ON_CONFLICT", 3);
Definition at line 373 of file class.ilSoapUserAdministration.php.
References $DIC, $ilLog, $ilUser, $lng, ilUtil\__extractId(), __getImportProtocolAsXML(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), __getUserMappingAsXML(), ilSoapAdministration\__raiseError(), ilObjRole\_getAssignUsersStatus(), ilObject\_lookupTitle(), domxml_open_mem(), ilObjectFactory\getInstanceByRefId(), IL_EXTRACT_ROLES, IL_FAIL_ON_CONFLICT, IL_IGNORE_ON_CONFLICT, IL_IMPORT_FAILURE, IL_IMPORT_SUCCESS, IL_IMPORT_WARNING, IL_UPDATE_ON_CONFLICT, IL_USER_IMPORT, IL_USER_MAPPING_ID, IL_VERIFY, ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), isPermittedRole(), and USER_FOLDER_ID.
Here is the call graph for this function:
|
protected |
check if assignment is allowed
@access protected
return
Definition at line 564 of file class.ilSoapUserAdministration.php.
References $DIC, $ilLog, $ilUser, $location, ilObjRole\_getAssignUsersStatus(), and USER_FOLDER_ID.
Referenced by importUsers().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSoapUserAdministration::login | ( | $client, | |
| $username, | |||
| $password | |||
| ) |
Soap login @global type $ilUser.
| type | $client | |
| type | $username | |
| type | $password |
Definition at line 46 of file class.ilSoapUserAdministration.php.
References $_COOKIE, $client, Vendor\Package\$e, $GLOBALS, $password, ilSoapAdministration\__raiseError(), ilAuthFrontendFactory\CONTEXT_CLI, ilAuthStatus\getInstance(), ilLoggerFactory\getLogger(), ilSoapAdministration\initIlias(), ilAuthStatus\STATUS_AUTHENTICATED, and ilAuthStatus\STATUS_AUTHENTICATION_FAILED.
Referenced by loginLDAP().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSoapUserAdministration::loginCAS | ( | $client, | |
| $PT, | |||
| $username | |||
| ) |
Definition at line 99 of file class.ilSoapUserAdministration.php.
References $client, ilSoapAdministration\__initAuthenticationObject(), ilSoapAdministration\__raiseError(), and AUTH_CAS.
Here is the call graph for this function:| ilSoapUserAdministration::loginLDAP | ( | $client, | |
| $username, | |||
| $password | |||
| ) |
Not required anymode.
This method is a simple alias for login()
| type | $client | |
| type | $username | |
| type | $password |
Definition at line 124 of file class.ilSoapUserAdministration.php.
References $client, $password, and login().
Here is the call graph for this function:| ilSoapUserAdministration::loginStudipUser | ( | $sid, | |
| $user_id | |||
| ) |
login as user from Stud.IP
| string | $sid | |
| int | $user_id |
Definition at line 136 of file class.ilSoapUserAdministration.php.
References $_COOKIE, $client, $DIC, $GLOBALS, $ilIliasIniFile, $ilUser, ilSoapAdministration\__explodeSid(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), ilSession\SESSION_CLOSE_USER, and ilSession\setClosingContext().
Here is the call graph for this function:| ilSoapUserAdministration::logout | ( | $sid | ) |
Logout user destroy session.
| string | $sid |
Definition at line 181 of file class.ilSoapUserAdministration.php.
References $GLOBALS, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), ilSession\SESSION_CLOSE_USER, and ilSession\setClosingContext().
Here is the call graph for this function:| ilSoapUserAdministration::lookupUser | ( | $sid, | |
| $user_name | |||
| ) |
| $sid | |
| $user_name |
Definition at line 201 of file class.ilSoapUserAdministration.php.
References $DIC, $ilUser, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObjUser\getUserIdByLogin(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and USER_FOLDER_ID.
Here is the call graph for this function:| ilSoapUserAdministration::searchUser | ( | $sid, | |
| $a_keyfields, | |||
| $query_operator, | |||
| $a_keyvalues, | |||
| $attach_roles, | |||
| $active | |||
| ) |
return user xml following dtd 3.7
| String | $sid | session id |
| String | array $a_keyfields array of user fieldname, following dtd 3.7 | |
| String | $queryOperator | any logical operator |
| String | array $a_keyValues values separated by space, at least 3 chars per search term |
Definition at line 905 of file class.ilSoapUserAdministration.php.
References $data, $DIC, $ilDB, $query, __buildSearchQuery(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and USER_FOLDER_ID.
Here is the call graph for this function: