> Automation > Objects > Active Directory > Add Member to AD Group

Add Member to AD Group

Adds an Active Directory member to an Active Directory group.

Privileges

Normal

Input Parameters

Name Type Required Description
User Common Name String Yes The distinguished name of a user.
Group Common Name String Yes The distinguished name of the group to which the user will be added.
Domain String No The name of the root domain in which to search for the given group.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
User String Yes

Jsmith

Jon Smith

Group String Yes Marketing
Domain String Yes Abc.com