Home > PHP > Function > LDAP > ldap_get_attributes()

ldap_get_attributes()

ldap_get_attributes - Get attributes from a search result entry

Syntax

array ldap_get_attributes (resource $link_identifier, resource $result_entry_identifier)

Arguments

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

Description

Reads attributes and values from an entry in the search result.

Version

PHP 4, 5

Return value

Returns a complete entry information in a multi-dimensional array on success and FALSE on error.