# Get Object Properties

> `UiPath.ActiveDirectoryDomainServices.Activities.GetObjectProperties`

`UiPath.ActiveDirectoryDomainServices.Activities.GetObjectProperties`

## Description

Retrieves all properties and their values for the specified object if the **SingleProperty** field is empty. If the **SingleProperty** parameter is set, then only the value for a single property is retrieved.

## Project compatibility

Windows - Legacy | Windows

## Configuration

### Common

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

### Input

* **DistinguishedName** - The distinguished name of the object.
* **SingleProperty** - The name of a specific property. If not specified, all properties will be returned.
* **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.

### Output

* **AllProperties** - A dictionary containing the names and values for all properties of the given object.
* **SinglePropertyValue** - The value of the requested single property.
