|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Inheritance diagram for ilSoapUserAdministration:
Collaboration diagram for ilSoapUserAdministration:Public Member Functions | |
| 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 (&$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 963 of file class.ilSoapUserAdministration.php.
Referenced by searchUser().
Here is the caller graph for this function:| ilSoapUserAdministration::__getImportProtocolAsXML | ( | $a_array | ) |
Create XML ResultSet.
Definition at line 807 of file class.ilSoapUserAdministration.php.
References $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 847 of file class.ilSoapUserAdministration.php.
References ilSoapAdministration\__raiseError().
Referenced by importUsers().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSoapUserAdministration::__readUserData | ( | & | $usr_obj | ) |
Definition at line 314 of file class.ilSoapUserAdministration.php.
Referenced by getUser().
Here is the caller graph for this function:| ilSoapUserAdministration::deleteUser | ( | $sid, | |
| $user_id | |||
| ) |
Definition at line 272 of file class.ilSoapUserAdministration.php.
References $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 | |||
| ) |
Definition at line 241 of file class.ilSoapUserAdministration.php.
References $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 743 of file class.ilSoapUserAdministration.php.
References $data, $ilDB, $ilUser, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilPrivacySettings\_getInstance(), ilObjUser\_getUsersForRole(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
Here is the call graph for this function:| ilSoapUserAdministration::getUserIdBySid | ( | $sid | ) |
Definition at line 1076 of file class.ilSoapUserAdministration.php.
References $data, $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 665 of file class.ilSoapUserAdministration.php.
References $data, $ilDB, $ref_id, 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 1000 of file class.ilSoapUserAdministration.php.
References $data, $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 1053 of file class.ilSoapUserAdministration.php.
References $ilUser, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilMailGlobalServices\getNumberOfNewMailsByUserId(), 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 364 of file class.ilSoapUserAdministration.php.
References $error, $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 567 of file class.ilSoapUserAdministration.php.
References $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::loginCAS | ( | $client, | |
| $PT, | |||
| $username | |||
| ) |
Definition at line 108 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 137 of file class.ilSoapUserAdministration.php.
References $client.
| ilSoapUserAdministration::loginStudipUser | ( | $sid, | |
| $user_id | |||
| ) |
login as user from Stud.IP
| string | $sid | |
| int | $user_id |
Definition at line 149 of file class.ilSoapUserAdministration.php.
References $_COOKIE, $client, $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 194 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 | |||
| ) |
Definition at line 210 of file class.ilSoapUserAdministration.php.
References $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 887 of file class.ilSoapUserAdministration.php.
References $data, $ilDB, $query, $r, $row, __buildSearchQuery(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and USER_FOLDER_ID.
Here is the call graph for this function: