Add AD DS User to Group Activity

 

Updated: May 13, 2016

Applies To: System Center 2012 SP1 - Service Manager, System Center 2012 R2 Service Manager, System Center 2012 - Service Manager

This activity adds a user to a security group in Active Directory Domain Services (AD DS) in System Center 2012 – Service Manager. 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 AD DS.

Properties

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

Display name Internal name Type Required Description
User Domain UserDomain String Yes The fully qualified domain name (FQDN) of the user.
User Name UserName String Yes The logon name of the user.
Group Name FullyQualifiedGroupName String Yes The FQDN of the group.

The Add AD DS User to Group activity generates the output that is 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

None.

Remarks

None.

Example

None.

See Also

DeleteActive Directory Activities [SM2012_AuthoringGuide]