function LDAPInterface::retrieveAttribute in LDAP integration 6
Same name and namespace in other branches
- 5.2 ldap_integration/LDAPInterface.php \LDAPInterface::retrieveAttribute()
- 5 ldap_integration/LDAPInterface.php \LDAPInterface::retrieveAttribute()
1 call to LDAPInterface::retrieveAttribute()
- LDAPInterface::writeAttributes in includes/
LDAPInterface.inc
File
- includes/
LDAPInterface.inc, line 248 - LDAPInterface class definition.
Class
- LDAPInterface
- @file LDAPInterface class definition.
Code
function retrieveAttribute($dn, $attrname) {
$entries = $this
->retrieveAttributes($dn, array(
$attrname,
));
return isset($entries[strtolower($attrname)]) ? $entries[strtolower($attrname)][0] : NULL;
}