ACTIVE DIRECTORY Add user to group function

The ACTIVE DIRECTORY Add user to group function in RPA.

Help CentreBuilding Processes

This article describes the RPA Active Directory functionality to add a user to a group.

For a full list of available functions, please read ACTIVE DIRECTORY functions.


Description

The ACTIVE DIRECTORY Add user to group function adds a user as a member of an Active Directory group.


Setting it up

To use the ACTIVE DIRECTORY Add user to group function, follow these instructions:

{{popups:rpas/add:action=ad-add-to-group}}

Once on a process map:

  1. Navigate to the process where you would like to add the ACTIVE DIRECTORY Add user to group function
  2. Click on the green button's drop-down (right side of the green button labelled "Process")
  3. On the menu that appears, click on the "+ Activity" item
  4. From here you can select the ACTIVE DIRECTORY Add user to group option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
NameYesText-The name of the Active Directory connection to use
Group DNYesText-The distinguished name of the group
Member DNYesText-The distinguished name of the user to add

Output variables

This action does not produce output variables.


Errors

ErrorDescription
Connection not foundNo connection exists with the specified name
Group not foundNo group was found with the specified DN
User not foundNo user was found with the specified member DN
Already a memberThe user is already a member of the specified group

Tips

  • Use ad-get-user to resolve a DN from a username before adding to a group

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.