ldap_get_entries
(PHP 3, PHP 4 , PHP 5)
ldap_get_entries -- Get all result entries
Description
array
ldap_get_entries ( resource link_identifier, resource result_identifier)
Returns a complete result information in a multi-dimensional array on success and FALSE on error.
ldap_get_entries() function is used to simplify reading multiple entries from the result, specified with result_identifier, and then reading the attributes and multiple values. The entire information is returned by one function call in a multi-dimensional array. The structure of the array is as follows.
The attribute index is converted to lowercase. (Attributes are case-insensitive for directory servers, but not when used as array indices.)
Смотрите также ldap_first_entry() and ldap_next_entry()