Add User to Group AD activity

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • The Add User to Group activity adds a user to a group in Windows Active Directory.

    To access this activity in the Workflow Editor, select the Custom tab, and then navigate to Custom Activities > Active Directory.

    Input variables

    Tableau 1. Add User to Group input variables
    Variable Description
    DomainController IP address of the domain controller machine.
    UserName Name of the user to add to the group.
    GroupName Name of the group to which this user is added.

    Output variables

    Tableau 2. Add User to Group output variables
    Variable Description
    result Either success or failure.
    errorMessage The executionResult.errorMessages from the Activity designer parsing sources.

    Conditions

    Tableau 3. Add User to Group conditions
    Condition Description
    Success User was successfully added to group.
    Failure An error occurred while attempting to add the user to the group. Additional details may be available in the workflow log.