ACTIVE DIRECTORY Authenticate a user function

The ACTIVE DIRECTORY Authenticate a user function in RPA.

Help CentreBuilding Processes

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

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


Description

The ACTIVE DIRECTORY Authenticate a user function verifies a user's credentials against Active Directory and returns whether the authentication was successful.


Setting it up

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

{{popups:rpas/add:action=ad-authenticate}}

Once on a process map:

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

Input parameters

ParameterRequiredTypeDefaultDescription
NameYesText-The name of the Active Directory connection to use
UsernameYesText-The username to authenticate
PasswordYesText-The password to verify
VariableNoTextauthenticatedThe variable name to store the result

Output variables

The {authenticated} variable contains a boolean value: true if authentication succeeded, false otherwise.


Errors

ErrorDescription
Connection not foundNo connection exists with the specified name

Tips

  • This function does not raise an exception on invalid credentials; it returns false instead, allowing you to handle failed authentication gracefully

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.