[Top]
Protocols
Protocols.LDAP
Protocols.LDAP.client
|
Method Protocols.LDAP.client()->search()
- Method
search
-
object|int search(string|void filter, array(string)|void attrs, int|void attrsonly)
- Description
-
Search LDAP directory.
- Parameter filter
-
Search filter used when searching directory objects.
- Parameter attrs
-
The array of attribute names which will be returned by server.
for every entry.
- Parameter attrsonly
-
The flag causes server return only attribute name but not
the attribute values.
- Returns
-
Returns object LDAP.client.result on success, 0
otherwise.
- Note
-
For syntax of search filter see at RFC 1960
(http://community.roxen.com/developers/idocs/rfc/rfc1960.html).
- Note
-
The API change: the returning code was changed in Pike 7.3+
to follow his logic better.
- See also
-
LDAP.client.result , LDAP.client.result.fetch
|