# Delete Group

> `UiPath.ActiveDirectoryDomainServices.Activities.DeleteGroup`

`UiPath.ActiveDirectoryDomainServices.Activities.DeleteGroup`

## Description

Deletes a group from Active Directory.

## Project compatibility

Windows - Legacy | Windows

## Configuration

### Common

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

### Input

* **DistinguishedName** - The distinguished name of the group.
* **Recursive** - Indicates whether to delete the user including any children it contains. This field only supports `Boolean` values (True, False). The default value is **False**.
* **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.
