# Validate User Credentials

> `UiPath.ActiveDirectoryDomainServices.Activities.ValidateUserCredentials`

`UiPath.ActiveDirectoryDomainServices.Activities.ValidateUserCredentials`

## Description

Validates a user credentials against the current Active Directory.

## Project compatibility

Windows - Legacy | Windows

## Configuration

### Common

* **Display Name** - - The display name of the activity.

### Input

* **Password** - The password of the provided Username.
* **SecurePassword** - The password for the provided Username, as a secure string. This field only supports `SecureString` values.
* **User** - The user account. Select one of the three value: **SAMAccountName**, **UserPrincipalName**, **DistinguishedName**. The default value is **SAMAccountName**.
* **Value** - The value for the selected Active Directory user account 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

* **IsValid** - Outputs whether the given credentials are valid or not. This field only supports `Boolean` values.
