ACTIVE DIRECTORY Get user details function

The ACTIVE DIRECTORY Get user details function in RPA.

Help CentreBuilding Processes

This article describes the RPA Active Directory functionality to get user details.

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


Description

The ACTIVE DIRECTORY Get user details function retrieves the attributes of a specific user from Active Directory.


Setting it up

To use the ACTIVE DIRECTORY Get user details function, follow these instructions:

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

Once on a process map:

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

Input parameters

ParameterRequiredTypeDefaultDescription
NameYesText-The name of the Active Directory connection to use
UsernameYesText-The sAMAccountName or user@domain of the user to retrieve
AttributesNoArray-List of specific attributes to return
VariableNoTextuserThe variable name to store the result

Output variables

The {user} variable contains an object with the user's dn and requested attributes.


Errors

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

Tips

  • Accepts either sAMAccountName (e.g. jsmith) or UPN format (e.g. jsmith@example.com)

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.