# Remove User From Group

> Remove User From Group activity that removes a user account from a group in Active Directory.

`UiPath.ActiveDirectoryDomainServices.Activities.RemoveUserFromGroup`

## Description

Removes a user account from a group.

## Project compatibility

Windows - Legacy | Windows

## Configuration

### Common

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

### Input

* **GroupDistinguishedName** - The distinguished name of the group.
* **UserDistinguishedName** - The distinguished name of the user account.
* **Connection** - Establish the connection that needs to be used. There are three available options, **Auto**, **Primary**, and **Secondary**. The default option is **Auto**. When set to **Auto**, the activity tries to automatically resolve the connection from the object’s distinguished name.

### Misc

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