LdapReplaceAttrBinaryValue(entryID, attrName, fileName);
entryID
attrName
fileName
Takes the entryID (as returned by LdapGetEntry), the attribute name, and a filename, and adds the contents of the file to the given attribute.This function works in the same way as LdapAddAttrBinaryValue, except that it replaces any existing data in the attribute.
1 -1 ldapReplaceAttrBinaryValue($theuser,"photo",_my_file);In this example, the value of the photo attribute in theuser entry is replaced by the contents of my_file.
OpenText StreamServe 5.6 | Updated: 2013-03-01 |