Help Centre › Building Processes
This article describes the RPA Active Directory functionality to remove a user from a group.
For a full list of available functions, please read ACTIVE DIRECTORY functions.
Description
The ACTIVE DIRECTORY Remove user from group function removes a user from an Active Directory group.
Setting it up
To use the ACTIVE DIRECTORY Remove user from group function, follow these instructions:
{{popups:rpas/add:action=ad-remove-from-group}}
Once on a process map:
- Navigate to the process where you would like to add the ACTIVE DIRECTORY Remove user from group function
- Click on the green button's drop-down (right side of the green button labelled "Process")
- On the menu that appears, click on the "+ Activity" item
- From here you can select the ACTIVE DIRECTORY Remove user from group option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Name | Yes | Text | - | The name of the Active Directory connection to use |
| Group DN | Yes | Text | - | The distinguished name of the group |
| Member DN | Yes | Text | - | The distinguished name of the user to remove |
Output variables
This action does not produce output variables.
Errors
| Error | Description |
|---|---|
| Connection not found | No connection exists with the specified name |
| Group not found | No group was found with the specified DN |
| Not a member | The user is not a member of the specified group |
Tips
- Check membership with ad-get-group-members before attempting to remove a user