string ldap_first_attribute(integer link, integer result, integer
pointer)
The ldap_first_attribute function returns the first attribute for a given entry.
The pointer argument must be passed as a reference. This variable stores a pointer in
the list of attributes. The ldap_get_attributes function is probably more
convenient.
integer ldap_first_entry(integer link, integer result)
The ldap_first_entry function returns an entry identifier for the first entry in the
result set. This integer is used in the ldap_next_entry function. Use
ldap_get_entries to retrieve all entries in an array.
boolean ldap_free_entry(integer entry)
The ldap_free_entry function frees memory associated with an entry. The entry
identifier is obtained through either ldap_first_entry or ldap_next_entry.
boolean ldap_free_result(integer result)
Use ldap_free_result to clear any memory used for a result returned by
ldap_read or ldap_search.
array ldap_get_attributes(integer link, integer result)
Use ldap_get_attributes to get a multidimensional array of all the attributes and
their values for the specified result identifier. Attributes may be referenced by their
names or by a number. The count element specifies the number of elements. Multivalue
attributes have a count element as well, and each element is referenced by number. This
function allows you to browse a directory, discovering attributes you may not have
known existed.
string ldap_get_dn(integer ldap, integer result)
The ldap_get_dn function returns the DN for the specified result.
array ldap_get_entries(integer link, integer result)
The ldap_get_entries function returns a three-dimensional array containing every
entry in the result set. An associative element, count, returns the number of entries in
the array. Each entry is numbered from zero. Each entry has a count element and a dn