You create queries to filter users from a large group. The results of the query make it easier to select only the users to synchronize to Horizon Workspace.

1

Create an exclude filter with the base DN.

a

Type the DN where the users are located. For example, to include all the users in the base DN for Company A's Active Directory, use the following query.

ou=Users,DC=testDC,DC=acme,DC=com

b

Create filters to exclude users you do not want to sync to Horizon Workspace using this syntax.

name contains John Smith

2

Create an include filter with base DN user attributes.

a

Enter the DN that contains the users and append a semicolon (;) after the user base DN.

b

After the semicolon, add attribute information to narrow your query and include only the users to sync with Horizon Workspace. For example, to include only the sales team in Company A, use the following query.

ou=Users,DC=testDC,DC=acme,DC=com;(&(objectClass=user)(objectCategory=person)(department=Sales))

If you do not want to include additional user attributes in your query, do not use the default filter, (&(objectClass=user)(objectCategory=person)).

After you create and run your query, you synchronize the users you selected with Horizon Workspace.