ldap_read
int ldap_read(mixed connectionID, string base, string filter, [array attributes], [int attronly], [int sizelimit], [int timelimit], [int dereference])
connectionID | Connection ID, either a host or array of hosts |
base | Base distinguished name to use in the search |
filter | Search filter conforming to RFC 1960 and/or 2254 |
attributes | Attributes to be returned |
attronly | Whether to return only attribute names |
sizelimit | Maximum number of entries to be returned |
timelimit | Maximum number of seconds to run the search |
dereference | Whether to dereference (not follow references) in the search |
Searches a directory on the base level.
Returns:
Result ID; FALSE on error
Description:
Performs a search on an LDAP directory using the specified filter ...
Get PHP Functions Essential Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.