LdapWriteAttrBinaryValue Syntax LdapWriteAttrBinaryValue(entryID, attrName, fileName); entryID The identifier of an entry. attrName The name of the attribute of interest. fileName A filename, with optional path. Description Writes the contents of the attribute to a file. Returns 1 The value was successfully added to the attribute. -1 Error. The value could not be written to a file. Example ldapWriteAttrBinaryValue($theuser,"photo",my_file); In this example, the contents of the photo attribute of theuser entry are written to my_file.
LdapWriteAttrBinaryValue(entryID, attrName, fileName);
entryID
attrName
fileName
1
-1
ldapWriteAttrBinaryValue($theuser,"photo",my_file);