ACTIVE DIRECTORY Disable a user account function

The ACTIVE DIRECTORY Disable a user account function in RPA.

Help CentreBuilding Processes

This article describes the RPA Active Directory functionality to disable a user account.

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


Description

The ACTIVE DIRECTORY Disable a user account function disables a user account in Active Directory by setting the ACCOUNTDISABLE flag, preventing the user from logging in.


Setting it up

To use the ACTIVE DIRECTORY Disable a user account function, follow these instructions:

{{popups:rpas/add:action=ad-disable-user}}

Once on a process map:

  1. Navigate to the process where you would like to add the ACTIVE DIRECTORY Disable a user account 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 Disable a user account option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
NameYesText-The name of the Active Directory connection to use
DNYesText-The distinguished name of the user to disable

Output variables

This action does not produce output variables.


Errors

ErrorDescription
Connection not foundNo connection exists with the specified name
User not foundNo user was found with the specified DN

Tips

  • Sets the ACCOUNTDISABLE flag in userAccountControl, preventing the user from logging in

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.