# NetIQ EDirectory Scope

> `UiPath.NetIQeDirectory.Activities.NetIQeDirectoryScope`

`UiPath.NetIQeDirectory.Activities.NetIQeDirectoryScope`

## Description

Connects to LDAP server and provides a scope for other NetIQeDirectory activities.

## Project compatibility

Windows - Legacy | Windows | Cross-platform

## Configuration

### Common

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

### Connection (primary)

* **ConnectionType** - The type of connection. You can select one of the two values: **LDAP** or **LDAPS**. The default value is **LDAP**.
* **LDAPServer** - The domain controller server. If not provided, it automatically returns to the current directory in which the current user resides.
* **Password** - The password for the provided **Username**.
* **Port** - A custom Port for the connection. This field supports only integer and `Int32` variables.
* **Username** - The name of the user that performs the directory operations. The format should be provided as `domain\username`.
* **Root Naming Context** - Explicit base DN for the primary connection. If left blank, the base DN is auto-discovered from the server. This field supports only integer and `String` variables.

### Connection (secondary)

* **ConnectionType** - The type of connection. You can select one of the two values: **LDAP** or **LDAPS**. The default value is **LDAP**.
* **LDAPServer** - The domain controller server. If not provided, it automatically returns to the current directory in which the current user resides.
* **Password** - The password for the provided **Username**.
* **Port** - A custom Port for the connection. This field supports only integer and `Int32` variables.
* **Username** - The name of the user that performs the directory operations. The format should be provided as `domain\username`.
* **Secondary Root Naming Context** - Explicit base DN for the secondary connection. If left blank, the base DN is auto-discovered from the server. This field supports only integer and `String` variables.

### Misc

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

:::note
If you didn't provide any value for **Directory Server**, **Password** or **Username** parameters, then the credentials of the user that is currently logged in are used for connecting to the directory the logged in user belongs to.
:::

## LDAPS Server Connection

For the robot to be able to connect to the specified directory server via LDAPS, there are two options:

1. The robot's machine is joined to the targeted directory domain.
2. The eDirectory's SSL certificate is installed locally on the robot machine in a trusted certificate store and the directory server can be reached from the robot machine by its FQDN.
