Interface Script Syntax
In this article you can find the possible lines you can include in the interface script. The context menu in the interface script can also provide the options available for this interface, available when AD template is selected.
Examples
The Ometa.Examples.AD object provides a most examples to get you started.
Move User
Moves a user to a different directory.
Operation=MoveTo
AttributesamAccountName={$Username}
LDAPSearchRoot=LDAP://OU=YourOriginalOrganizationalUnit,DC=domain,DC=domainextension
MoveDestination=OU=DestinationOrganizationalUnit,DC=domain,DC=domainextension
Rename User
Renames a user, including its CN, log on name, and extra properties.
Operation=Rename
AttributesamAccountName={$OldUsername}
LDAPSearchRoot=LDAP://OU=YourOriginalOrganizationalUnit,DC=domain,DC=domainextension
NewName=CN={$NewUsername}
Attributemail={$NewUsername}@domain.domainextension
Attributedescription={$NewUsername}
Additional properties can be added using the attribute syntax: Attributeattributename=attributevalue
By default, we'll change the account name (samAccountName
) to the NewName=
without the CN=
prefix. This can be overriden by specifying NewAccountName=
.