Check Whether a User Exists in Active Directory

To check whether a user exists in Active Directory, do the procedure in this topic.

Figure: Does User Exist Configuration screen

Does User Exist Configuration screen

Prerequisites

Good to Know

  • In most text fields, you can use process data variables as an alternative to literal data values.
  • You can configure whether this activity waits for other activities before it runs.

    For more information, refer to How Do I Configure an Activity to Wait for Other Incoming Activities?

  • Some information about third-party integrations is outside the scope of the AgilePoint NX Product Documentation, and it is the responsibility of the vendors who create and maintain these technologies to provide this information. This includes specific business uses cases and examples; explanations for third-party concepts; details about the data models and input and output data formats for third-party technologies; and various types of IDs, URL patterns, connection string formats, and other technical information that is specific to the third-party technologies. For more information, refer to Where Can I Find Information and Examples for Third-Party Integrations?

How to Start

  1. On the Application Explorer screen, do one of these:
  2. Do one of these:
    • Add an activity:
      1. In the Process Builder, in the Activity Library, open the Active Directory Active Directory icon tab.
      2. On the Active Directory Active Directory icon tab, drag the Does User Exist Does User Exist icon activity onto your process.
    • Change an activity:
      1. In your process, double-click your activity.
  3. Click Does User Exist Does User Exist icon

Procedure

  1. On the Does User Exist Configuration screen, in the Active Directory field, select your Active Directory access token.

    To create a new access token, click Add Token Add Token icon. For more information, refer to Access Token for Active Directory.

  2. Complete these fields.
    Field Name Definition

    User Name

    Function:
    Specifies the name of a user to check if the user exists in Active Directory.
    Accepted Values:
    One line of text that can have spaces.
    Default Value:
    None
    Accepts Process Data Variables:
    Yes

    Group Name

    Function:
    Specifies the name of the Active Directory group.
    Accepted Values:
    A valid Active Directory group name.

    When you select the access token from the Active Directory field, a list of group names shows in this field.

    Default Value:
    None
    Accepts Process Data Variables:
    Yes

    Store the Response in Custom Attribute or Schema

    Function:
    Specifies a process data variable that stores a Boolean value of true or false.

    Returns true if the user exists in Active Directory, false if not.

    Accepted Values:
    A process data variable that accepts a Boolean value, or the text true or false.
    Default Value:
    None
    Accepts Process Data Variables:
    Yes