public function LdapServer::user_lookup in Lightweight Directory Access Protocol (LDAP) 8.2
Same name and namespace in other branches
- 7.2 ldap_servers/LdapServer.class.php \LdapServer::user_lookup()
- 7 ldap_servers/LdapServer.class.php \LdapServer::user_lookup()
Parameters
mixed $user:
- drupal user object (stdClass Object)
- ldap entry of user (array)
- ldap dn of user (string)
- drupal username of user (string)
@return array $ldap_user_entry (with top level keys of 'dn', 'mail', 'sid' and 'attr' )
File
- ldap_servers/
LdapServer.class.php, line 1120 - Defines server classes and related functions.
Class
- LdapServer
- LDAP Server Class
Code
public function user_lookup($user) {
return $this
->userUserToExistingLdapEntry($user);
}