Returns a specific entry based on the DN.
public getEntry ( string $dn, array $attributes = [] ) : Horde_Ldap_Entry |
$dn |
string |
DN of the entry that should be fetched. |
$attributes |
array |
Array of Attributes to select. If ommitted, all
attributes are fetched. |
return |
Horde_Ldap_Entry |
A Horde_Ldap_Entry object. |