This activity adds a user to a security group in Active Directory Domain Services (AD DS). The user and the group must belong to the same domain, and all the containers in the domain are searched.

Design Time Prerequisites

None.

Run Time Prerequisites

When you use this activity, make sure that the Service Manager Workflow account has sufficient permissions to modify security groups in Active Directory Domain Services.

Properties

The Add AD DS User to Group activity uses the input properties listed in the following table:

Display Name Internal Name Type Required Description

User Domain

UserDomain

String

Yes

The fully qualified domain name of the user.

User Name

UserName

String

Yes

The logon name of the user.

Group Name

FullyQualifiedGroupName

String

Yes

The fully qualified domain name of the group.

The Add AD DS User to Group activity generates the output described in the following table:

Display Name Internal Name Type Description

Output

Output

Boolean

The result of the operation: True if the addition succeeded, False if it failed.

Errors and Exceptions

Remarks

Example