function ldapauth_userinfo_load in LDAP integration 6
Load a ldapauth_user record
Parameters
unknown_type $luid:
1 call to ldapauth_userinfo_load()
- ldapauth_userinfo_delete in includes/
ldap.core.inc - Delete a ldapauth_users record.
File
- includes/
ldap.core.inc, line 173 - The core functions that ldapauth supplies for submodules. Will be included by default by ldapauth.
Code
function ldapauth_userinfo_load($luid) {
$userinfo = db_fetch_object(db_query("SELECT * FROM {ldapauth_users} WHERE luid = '%s'", $luid));
return $userinfo;
}