---
title: LDAP/AD Integration
slug: singleconnect-reference-guide-3-1-0/ldapad-integration
description: Learn how to integrate LDAP/Active Directory seamlessly with Single Connect. Enable powerful features like deleting empty user groups and allowing duplicated email addresses. Import users and user groups effortlessly with domain names. Use our sample para
docTags: 
createdAt: 2022-08-03T09:57:56.000Z
---

Single Connect allows LDAP/Active Directory integration with select integration options.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/M55TnGAhtEfaF-USu4CyB_image.png" size="74" width="960" height="457" caption="LDAP Integration" position="center" showCaption="true"}

1. Click the Integration Options’ **Edit** button.
2. Select the desired integration option and click **Save**.
3. Click the **Synchronize All&#x20;**&#x62;utton to import LDAP users.

**Delete Empty User Groups**: If this option is selected, the empty LDAP user groups are deleted from Single Connect.

**Allow Duplicated Email**: Allows user import even if the users have the same email address. If this option is not selected, only one user with a unique email address will be imported.

**Import Users With Domain Name**: This value can be set as **TRUE** or **FALSE**. If the value is **TRUE,** the users of the domain name SingleConnect\testuser or testuser\@Singleconnect.com are imported. If the parameter is set as **TRUE**, the **userPrincipalName** value should be added in the LDAP Definition.

**Separator**: The value can be set as “**\\**” or “**@**”. The preferred separator is used to import users from the AD with the domain name. (Example: SingleConnect\testuser or testuser\@Singleconnect.com). The default value is "**\\**".

**Import User Groups With Domain Name**: This value can be set as **TRUE** or **FALSE**. If the value is **TRUE**, the user groups with the domain name SingleConnect\TestuserGroup are imported.



| **Parameter Name**                                    | **Sample Parameter Value**              |
| ----------------------------------------------------- | --------------------------------------- |
| **sc.integration.ldap.baseDN\_0**                     | DC=SingleConnectlab,DC=net              |
| **sc.integration.ldap.baseDN\_1**                     | DC=SingleConnect,DC=com                 |
| **sc.integration.ldap.domain\_0**                     | SingleConnectlab.net                    |
| **sc.integration.ldap.domain\_1**                     | SingleConnect.com                       |
| **sc.integration.ldap.eid\_0**                        | Administrator\@SingleConnectlab.net     |
| **sc.integration.ldap.eid\_1**                        | Admin\@SingleConnect.com                |
| **sc.integration.ldap.group.import.with.domain.name** | TRUE                                    |
| **sc.integration.ldap.group.search.phrase\_0**        | (objectClass=group)                     |
| **sc.integration.ldap.group.search.phrase\_1**        | (objectClass=group)                     |
| **sc.integration.ldap.password\_0**                   | ?                                       |
| **sc.integration.ldap.principal\_1**                  | ?                                       |
| **sc.integration.ldap.source.name\_0**                | Ldap                                    |
| **sc.integration.ldap.source.name\_1**                | ldap2                                   |
| **sc.integration.ldap.url**                           | ldap\://10.20.30.40#ldap\://10.20.30.41 |
| **sc.integration.ldap.user.additional.attributes\_0** | userPrincipalName                       |
| **sc.integration.ldap.user.additional.attributes\_1** | userPrincipalName                       |
| **sc.integration.ldap.user.import.with.domain.name**  | TRUE                                    |
| **sc.integration.ldap.user.search.phrase\_0**         | (objectClass=user)                      |
| **sc.integration.ldap.user.search.phrase\_1**         | (objectClass=user)                      |

After defining the above parameters, apply the steps outlined in sections [Adding Users Automatically](docId\:qXjdy8y4qotph9OqhCm2I) or [Manually Trigger LDAP Sync Job](docId\:DVUXmhXVVK_jh82zU6E4B).
