14.02.2014 Views

ldapv3.pdf 7947KB Apr 17 2013 11:30:42 AM - mirror omadata

ldapv3.pdf 7947KB Apr 17 2013 11:30:42 AM - mirror omadata

ldapv3.pdf 7947KB Apr 17 2013 11:30:42 AM - mirror omadata

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ldap_get_entries<br />

array ldap_get_entries(resource link_identifier, resource result_identifier)<br />

The ldap_get_entries function<br />

returns either a multi-valued array<br />

of the search results or FALSE if<br />

an error occurred.<br />

All attribute name keys are lower<br />

case.<br />

Examples:<br />

$entries[0]["givenname"][0]<br />

-The first givenname value of the first objects<br />

$entries[1]["mail"][3]<br />

-The fourth mail value of the second object<br />

$entries["count"] = The number of objects returned by the search.<br />

$entries[0] - The first object in the search result.<br />

$entries[i]["dn"] = DN of the i-ith object.<br />

$entries[i]["count"] = The number of attributes in the i-th object.<br />

$entries[i][j] = The j-th attribute of the i-th object.<br />

$entries[i]["attribute"]["count"] = The number of values for the specified attribute.<br />

$entries[i]["attribute"][j] = The j-th value of specified attribute in i-th object.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!