View Categories

How-To

3 Docs

Setting an object’s manager

Last Updated: September 25, 2026

To update the manager attribute you just set it to the distinguished name of the existing user you require. A distinguished name is of the form: CN=John Smith,CN=Users,DC=test,DC=com. So to set Jane Active’s manager to the existing user “John Smith” you would use a message like this: <ActiveDirectoryUpdate> <Directives WhereToBind=”LDAP://CN=Users,DC=test,DC=com” SearchScope=”onelevel” ObjectTypeFilter=”(objectClass=user)” MaxObjects=”1″/> <Target PropertyName=”cn”...

Why do I need to use “CN=Jane” in createobject messages and not just “Jane”?

Last Updated: September 25, 2026

A quirk of Active Directory is that Organizational Units use an OU property rather than a CN property to define their place in the directory structure. In createobject messages you need to use CN= to create most objects. However, to allow you to create OUs we had to allow you to specify this with OU=MyNewOU.

How do I update object properties that don’t take strings?

Last Updated: September 25, 2026

Use the optional DataType property in your update message with the hex setting to specify your data as hexadecimal. For example: ChangeToValue="F0-F1-F2-F3" DataType="hex" Your hex data can contain no spaces (“F0F1F2F3“), or be separated with spaces or hyphens (“F0 F1 F2 F3” or “F0-F1-F2-F3“). If you have a lot of data to upload – such...