|
ILIAS
release_8 Revision v8.24
|
Inheritance diagram for ilSoapUserAdministration:
Collaboration diagram for ilSoapUserAdministration:Public Member Functions | |
| login (string $client, string $username, string $password) | |
| logout (string $sid) | |
| lookupUser (string $sid, string $user_name) | |
| importUsers (string $sid, int $folder_id, string $usr_xml, int $conflict_rule, bool $send_account_mail) | |
| getUsersForContainer (string $sid, int $ref_id, bool $attachRoles, int $active) | |
| getUserForRole (string $sid, int $role_id, bool $attachRoles, int $active) | |
| searchUser (string $sid, array $a_keyfields, string $query_operator, array $a_keyvalues, bool $attach_roles, int $active) | |
| return user xml following dtd 3.7 More... | |
| getUserXML (string $sid, array $a_user_ids, bool $attach_roles) | |
| hasNewMail (string $sid) | |
| getUserIdBySid (string $sid) | |
Public Member Functions inherited from ilSoapAdministration | |
| __construct (bool $use_nusoap=true) | |
| getMessage () | |
| appendMessage (string $a_str) | |
| setMessageCode (string $a_code) | |
| getMessageCode () | |
| reInitUser () | |
| isFault ($object) | |
| getInstallationInfoXML () | |
| getClientInfoXML (string $clientid) | |
Data Fields | |
| const | USER_FOLDER_ID = 7 |
Data Fields inherited from ilSoapAdministration | |
| const | NUSOAP = 1 |
| const | PHP5 = 2 |
| int | $error_method |
| Defines type of error handling (PHP5 || NUSOAP) More... | |
Protected Member Functions | |
| isPermittedRole (int $a_folder, int $a_role) | |
Protected Member Functions inherited from ilSoapAdministration | |
| checkSession (string $sid) | |
| explodeSid (string $sid) | |
| setMessage (string $a_str) | |
| initAuth (string $sid) | |
| initIlias () | |
| initAuthenticationObject () | |
| raiseError (string $a_message, $a_code) | |
| checkObjectAccess (int $ref_id, array $expected_type, string $permission, bool $returnObject=false) | |
| check access for ref id: expected type, permission, return object instance if returnobject is true More... | |
Private Member Functions | |
| getImportProtocolAsXML (array $a_array) | |
| Create XML ResultSet. More... | |
| getUserMappingAsXML (array $a_array) | |
| return user mapping as xml More... | |
| buildSearchQuery (array $a_keyfields, string $queryOperator, array $a_keyvalues) | |
| create search term according to parameters More... | |
Additional Inherited Members | |
Protected Attributes inherited from ilSoapAdministration | |
| bool | $soap_check = true |
| string | $message = '' |
| string | $message_code = '' |
Definition at line 32 of file class.ilSoapUserAdministration.php.
|
private |
create search term according to parameters
Definition at line 748 of file class.ilSoapUserAdministration.php.
References $DIC, $ilDB, and $query.
Referenced by searchUser().
Here is the caller graph for this function:
|
private |
Create XML ResultSet.
Definition at line 594 of file class.ilSoapUserAdministration.php.
References ilSoapAdministration\$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::getUserForRole | ( | string | $sid, |
| int | $role_id, | ||
| bool | $attachRoles, | ||
| int | $active | ||
| ) |
Definition at line 519 of file class.ilSoapUserAdministration.php.
References $data, $DIC, $ilDB, $ilUser, $type, ilObjUser\_getUsersForRole(), ilObject\_lookupType(), ilSoapAdministration\checkSession(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), ilSoapAdministration\raiseError(), SYSTEM_ROLE_ID, and USER_FOLDER_ID.
Here is the call graph for this function:| ilSoapUserAdministration::getUserIdBySid | ( | string | $sid | ) |
Definition at line 852 of file class.ilSoapUserAdministration.php.
References $data, $DIC, $ilDB, $parts, $query, $res, ilSoapAdministration\checkSession(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilSoapAdministration\raiseError().
Here is the call graph for this function:
|
private |
return user mapping as xml
| array | (user_id => login) $a_array |
Definition at line 630 of file class.ilSoapUserAdministration.php.
References ilSoapAdministration\$message, and ilSoapAdministration\raiseError().
Referenced by importUsers().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSoapUserAdministration::getUsersForContainer | ( | string | $sid, |
| int | $ref_id, | ||
| bool | $attachRoles, | ||
| int | $active | ||
| ) |
Definition at line 433 of file class.ilSoapUserAdministration.php.
References $data, $DIC, $ilDB, $ref_id, ilObjUser\_getUsersForFolder(), ilObjUser\_getUsersForGroup(), ilObjUser\_getUsersForIds(), ilObject\_lookupObjId(), ilSoapAdministration\checkObjectAccess(), ilSoapAdministration\checkSession(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), ilSoapAdministration\isFault(), ilSoapAdministration\raiseError(), USER_FOLDER_ID, and USER_FOLDER_ID.
Here is the call graph for this function:| ilSoapUserAdministration::getUserXML | ( | string | $sid, |
| array | $a_user_ids, | ||
| bool | $attach_roles | ||
| ) |
Definition at line 790 of file class.ilSoapUserAdministration.php.
References $data, $DIC, $ilDB, $ilUser, ilObjUser\_getUserData(), ilSoapAdministration\checkSession(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), ILIAS\Repository\int(), ilSoapAdministration\raiseError(), and USER_FOLDER_ID.
Here is the call graph for this function:| ilSoapUserAdministration::hasNewMail | ( | string | $sid | ) |
Definition at line 833 of file class.ilSoapUserAdministration.php.
References $DIC, $ilUser, ilSoapAdministration\checkSession(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilMailGlobalServices\getNewMailsData(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilSoapAdministration\raiseError().
Here is the call graph for this function:| ilSoapUserAdministration::importUsers | ( | string | $sid, |
| int | $folder_id, | ||
| string | $usr_xml, | ||
| int | $conflict_rule, | ||
| bool | $send_account_mail | ||
| ) |
Definition at line 149 of file class.ilSoapUserAdministration.php.
References $DIC, $ilUser, $lng, ilUtil\__extractId(), ilObjRole\_getAssignUsersStatus(), ilObject\_lookupTitle(), ilSoapAdministration\checkSession(), DOMXML_LOAD_PARSING, domxml_open_mem(), getImportProtocolAsXML(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), getUserMappingAsXML(), IL_EXTRACT_ROLES, IL_FAIL_ON_CONFLICT, IL_IGNORE_ON_CONFLICT, IL_IMPORT_FAILURE, IL_IMPORT_SUCCESS, IL_IMPORT_WARNING, IL_INST_ID, IL_UPDATE_ON_CONFLICT, IL_USER_IMPORT, IL_USER_MAPPING_ID, IL_VERIFY, ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), isPermittedRole(), ilSoapAdministration\raiseError(), SYSTEM_ROLE_ID, USER_FOLDER_ID, and USER_FOLDER_ID.
Here is the call graph for this function:
|
protected |
Definition at line 341 of file class.ilSoapUserAdministration.php.
References $DIC, $ilUser, $location, ilObjRole\_getAssignUsersStatus(), ANONYMOUS_ROLE_ID, ROLE_FOLDER_ID, SYSTEM_ROLE_ID, 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 | ( | string | $client, |
| string | $username, | ||
| string | $password | ||
| ) |
Definition at line 39 of file class.ilSoapUserAdministration.php.
References $_COOKIE, $client, Vendor\Package\$e, $GLOBALS, ilAuthFrontendFactory\CONTEXT_WS, ilAuthStatus\getInstance(), ilLoggerFactory\getLogger(), ilSoapAdministration\initIlias(), ilSoapAdministration\raiseError(), ilAuthStatus\STATUS_AUTHENTICATED, and ilAuthStatus\STATUS_AUTHENTICATION_FAILED.
Here is the call graph for this function:| ilSoapUserAdministration::logout | ( | string | $sid | ) |
Definition at line 92 of file class.ilSoapUserAdministration.php.
References $GLOBALS, ilSoapAdministration\checkSession(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), ilSoapAdministration\raiseError(), ilSession\SESSION_CLOSE_USER, and ilSession\setClosingContext().
Here is the call graph for this function:| ilSoapUserAdministration::lookupUser | ( | string | $sid, |
| string | $user_name | ||
| ) |
Definition at line 110 of file class.ilSoapUserAdministration.php.
References $DIC, $ilUser, ilSoapAdministration\checkSession(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilObjUser\getUserIdByLogin(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), ilSoapAdministration\raiseError(), and USER_FOLDER_ID.
Here is the call graph for this function:| ilSoapUserAdministration::searchUser | ( | string | $sid, |
| array | $a_keyfields, | ||
| string | $query_operator, | ||
| array | $a_keyvalues, | ||
| bool | $attach_roles, | ||
| int | $active | ||
| ) |
return user xml following dtd 3.7
| string | $sid | session id |
| array | $a_keyfields | array of user fieldname, following dtd 3.7 |
| string | $queryOperator | any logical operator |
| array | $a_keyValues | values separated by space, at least 3 chars per search term |
| bool | ||
| int |
Definition at line 672 of file class.ilSoapUserAdministration.php.
References $data, $DIC, $ilDB, $query, buildSearchQuery(), ilSoapAdministration\checkSession(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), ilSoapAdministration\raiseError(), and USER_FOLDER_ID.
Here is the call graph for this function:| const ilSoapUserAdministration::USER_FOLDER_ID = 7 |
Definition at line 34 of file class.ilSoapUserAdministration.php.
Referenced by getUsersForContainer(), and importUsers().