Using Additional LDAP filter to retrieve specific users

You can create a user directory connector that will retrieve only specific users when synchronizing with user directories. To achieve this you use the property Additional LDAP filter when creating a new GenericLDAP or Active Directory user directory connector.

Example:  

Enter a query in the Additional LDAP filter text field found in the Advanced property group. For example, you might want to import:

  • all users named John: (&(objectClass=user)(name=John*))
  • a specific user: (&(objectClass=user)(sAMAccountName=userid))
  • more than one specific users: (&(objectCategory=person)(objectClass=user)(|(sAMAccountName=userid)(sAMAccountName=userid)))

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?