You are here

function LDAPInterface::retrieveAttribute in LDAP integration 5

Same name and namespace in other branches
  1. 5.2 ldap_integration/LDAPInterface.php \LDAPInterface::retrieveAttribute()
  2. 6 includes/LDAPInterface.inc \LDAPInterface::retrieveAttribute()
1 call to LDAPInterface::retrieveAttribute()
LDAPInterface::writeAttributes in ldap_integration/LDAPInterface.php

File

ldap_integration/LDAPInterface.php, line 188

Class

LDAPInterface

Code

function retrieveAttribute($dn, $attrname) {
  $entries = $this
    ->retrieveAttributes($dn);
  return $entries[strtolower($attrname)][0];
}