Method Protocols.LDAP.client()->read_attr()
- Method read_attr
 string|array(string) read_attr(stringobject_name,stringattr,void|stringfilter,void|mapping(string:array(int|string))controls)- Description
 Reads a specified attribute of a specified object in the LDAP server.
object_nameis the distinguished name of the object andattris the attribute. The rest of the arguments are the same as to search.The default filter that might have been set in the LDAP URL doesn't affect this call. If
filterisn't set then"(objectClass=*)"is used.- Returns
 For single-valued attributes, the value is returned as a string. For multivalued attributes, the value is returned as an array of strings. Returns zero if there was an error.
- See also