Home > PHP > Function > LDAP > ldap_next_attribute()

ldap_next_attribute()

ldap_next_attribute - Get the next attribute in result

Syntax

string ldap_next_attribute (resource $link_identifier, resource $result_entry_identifier)

Arguments

  • link_identifier - An LDAP link identifier, returned by ldap_connect().
  • result_entry_identifier

Description

Retrieves the attributes in an entry. The first call to ldap_next_attribute() is made with the result_entry_identifier returned from ldap_first_attribute().

Version

PHP 4, 5

Return value

Returns the next attribute in an entry on success and FALSE on error.