ldap_first_attribute
Return first attribute
Description
stringfalse ldap_first_attribute(LDAP\Connection $ldap
, LDAP\ResultEntry $entry
)
Similar to reading entries, attributes are also read one by one from a
particular entry.
Parameters
-
ldap
-
An LDAP\Connection instance, returned by ldap_connect.
-
entry
-
An LDAP\ResultEntry instance.
Return Values
Returns the first attribute in the entry on success and false
on
error.
See Also
- ldap_next_attribute
- ldap_get_attributes