Script functions reference > Script functions in alphabetical order > L > LdapAddAttrValue

LdapAddAttrValue
Syntax
LdapAddAttrValue(entryID, attrName, value);
entryID 
attrName
value
Description
Adds the specified value to the specified attribute. The changes are not written to the directory until the LdapUpdateEntry function is called.
Returns
1
-1
Example
ldapAddAttrValue($theuser,"description",$insert);
In this example, the value of the variable insert is added to the description attribute of theuser entry. For example, if the description attribute contains a list of the formats in which the user wants their invoices, and the insert variable contains the value messenger pigeon, then messenger pigeon is added to the list of formats in the description attribute.
OpenText StreamServe 5.6 Updated: 2013-03-01