# User Exists

> `UiPath.ActiveDirectoryDomainServices.Activities.UserExists`

`UiPath.ActiveDirectoryDomainServices.Activities.UserExists`

## Description

Checks if a user account exists in Active Directory.

## Project compatibility

Windows - Legacy | Windows

## Configuration

### Common

* **DisplayName** - The display name of the activity.

### Input

* **CheckUserBy** - Specifies which Active Directory property to be used for checking the existence of a user account. The default value is **SAMAccountName**.
* **Location** - Specifies where exactly should the Active Directory check if the user account exists.
* **Value** - Specifies the value of the selected Active Directory property.
* **Connection** - Establish the connection that needs to be used. There are two available options, **Primary** and **Secondary**. The default option is **Primary**.

### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

### Output

* **Exists** - Provides the result of the search, whether the user account exists or not in the Active Directory.
