ldap_first_attribute()
ldap_first_attribute - Return first attribute
Syntax
string ldap_first_attribute (
resource $link_identifier,
resource $result_entry_identifier)
Arguments
- link_identifier - An LDAP link identifier, returned by ldap_connect().
- result_entry_identifier
Description
Gets the first attribute in the given entry. Remaining attributes are retrieved by calling ldap_next_attribute() successively.
Version
PHP 4, 5
Return value
Returns the first attribute in the entry on success and FALSE on error.