I have written a VB script that is supposed to add data to a multivalued attribute (that we have added to our schema) and am getting an error when it tries to execute the "SetInfo" command.
I have reduced the script to its most basic components and am still getting the error. Here is what I am trying...
CONST APPEND = 3
set objUser = GetObject("LDAP://CN=User Name, OU=SubGroup1, OU=Group2, DC=sdomain, DC=domain, DC=com")
objUser.PutEx APPEND, "customattribute", Array("Data")
I get the error on the last line when it tries to Setinfo.
The attribute has the following properties:
Syntax: Case insensitive string
Attribute is active (checkbox is checked)
There are no other checkboxes that are checked for this attribute.
The thing that seems strange is, we can set values for the custom attribute using LDIFDE with no problems.
Thanks in advance for your help!