Method Protocols.LDAP.client()->read()
- Method
read
mapping(string:string|array(string))|zeroread(stringobject_name,void|stringfilter,void|array(string)attrs,void|intattrsonly,void|mapping(string:array(int|string))controls,void|intflags)- Description
Reads a specified object in the LDAP server.
object_nameis the distinguished name for the object. The rest of the arguments are the same as to search.The default filter and attributes that might have been set in the LDAP URL doesn't affect this call. If
filterisn't set then"(objectClass=*)"is used.- Returns
Returns a mapping of the requested attributes. It has the same form as the response from result.fetch.
- See also