LDAP_FIRST_ENTRY(3) 1 LDAP_FIRST_ENTRY(3)
ldap_first_entry - Return first result id
SYNOPSIS
resource ldap_first_entry (resource $link_identifier, resource $result_identifier)
DESCRIPTION
Returns the entry identifier for first entry in the result. This entry identifier is then supplied to ldap_next_entry(3) routine to get
successive entries from the result.
Entries in the LDAP result are read sequentially using the ldap_first_entry(3) and ldap_next_entry(3) functions.
PARAMETERS
o $link_identifier
- An LDAP link identifier, returned by ldap_connect(3).
o $result_identifier
-
RETURN VALUES
Returns the result entry identifier for the first entry on success and FALSE on error.
SEE ALSO
ldap_get_entries(3).
PHP Documentation Group LDAP_FIRST_ENTRY(3)