Help Centre › Building Processes
This article describes the RPA Active Directory functionality to delete a user.
For a full list of available functions, please read ACTIVE DIRECTORY functions.
Description
The ACTIVE DIRECTORY Delete a user function permanently removes a user account from Active Directory.
Setting it up
To use the ACTIVE DIRECTORY Delete a user function, follow these instructions:
{{popups:rpas/add:action=ad-delete-user}}
Once on a process map:
- Navigate to the process where you would like to add the ACTIVE DIRECTORY Delete a user 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 Delete a user 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 |
| DN | Yes | Text | - | The distinguished name of the user to delete |
Output variables
This action does not produce output variables.
Errors
| Error | Description |
|---|---|
| Connection not found | No connection exists with the specified name |
| User not found | No user was found with the specified DN |
| Insufficient permissions | The bound account does not have permission to delete this user |
Tips
- This action is irreversible; consider using ad-disable-user instead to preserve the account