|
ILIAS
Release_3_10_x_branch Revision 61812
|
Update/create ILIAS user account by given LDAP attributes according to user attribute mapping settings. More...
Collaboration diagram for ilLDAPAttributeToUser:Public Member Functions | |
| __construct (ilLDAPServer $a_server) | |
| Construct of ilLDAPAttribute2XML Defines between LDAP and ILIAS user attributes. | |
| setUserData ($a_data) | |
| Set user data received from pear auth or by ldap_search. | |
| refresh () | |
| Create/Update non existing users. | |
Private Member Functions | |
| usersToXML () | |
| Create xml string of user according to mapping rules. | |
| convertInput ($a_value) | |
| A value can be an array or a string This function converts arrays to strings. | |
| doMapping ($user, $rule) | |
| doMapping | |
| initLDAPRoleAssignments () | |
| Init LDAP role assignment object. | |
| initLDAPAttributeMapping () | |
| initUserDefinedFields () | |
Private Attributes | |
| $server_settings = null | |
| $role_assignment = null | |
| $db = null | |
| $user_data = array() | |
| $setting = null | |
| $mapping = null | |
Update/create ILIAS user account by given LDAP attributes according to user attribute mapping settings.
Definition at line 35 of file class.ilLDAPAttributeToUser.php.
| ilLDAPAttributeToUser::__construct | ( | ilLDAPServer | $a_server | ) |
Construct of ilLDAPAttribute2XML Defines between LDAP and ILIAS user attributes.
| object | il |
Definition at line 51 of file class.ilLDAPAttributeToUser.php.
References $ilLog, $ilSetting, $lng, initLDAPAttributeMapping(), and initLDAPRoleAssignments().
Here is the call graph for this function:
|
private |
A value can be an array or a string This function converts arrays to strings.
private
| array | or string value |
Definition at line 313 of file class.ilLDAPAttributeToUser.php.
Referenced by doMapping().
Here is the caller graph for this function:
|
private |
doMapping
private
Definition at line 331 of file class.ilLDAPAttributeToUser.php.
References $mapping, $user, and convertInput().
Referenced by usersToXML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 367 of file class.ilLDAPAttributeToUser.php.
References ilLDAPAttributeMapping\_getInstanceByServerId().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Init LDAP role assignment object.
private
Definition at line 360 of file class.ilLDAPAttributeToUser.php.
References ilLDAPRoleAssignments\_getInstanceByServer().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 373 of file class.ilLDAPAttributeToUser.php.
References ilUserDefinedFields\_getInstance().
Referenced by usersToXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLDAPAttributeToUser::refresh | ( | ) |
Create/Update non existing users.
public
Definition at line 89 of file class.ilLDAPAttributeToUser.php.
References usersToXML().
Here is the call graph for this function:| ilLDAPAttributeToUser::setUserData | ( | $a_data | ) |
Set user data received from pear auth or by ldap_search.
public @ param array array of auth data. array('ilias_account1' => array(firstname => 'Stefan',...),...)
Definition at line 77 of file class.ilLDAPAttributeToUser.php.
|
private |
Create xml string of user according to mapping rules.
private
Definition at line 114 of file class.ilLDAPAttributeToUser.php.
References $data, $user, ilAuthUtils\_generateLogin(), ilObjUser\_lookupId(), doMapping(), and initUserDefinedFields().
Referenced by refresh().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 39 of file class.ilLDAPAttributeToUser.php.
|
private |
Definition at line 43 of file class.ilLDAPAttributeToUser.php.
Referenced by doMapping().
|
private |
Definition at line 38 of file class.ilLDAPAttributeToUser.php.
|
private |
Definition at line 37 of file class.ilLDAPAttributeToUser.php.
|
private |
Definition at line 42 of file class.ilLDAPAttributeToUser.php.
|
private |
Definition at line 41 of file class.ilLDAPAttributeToUser.php.