
The query window displays the full query in the middle or only a part of the statement depending on your selection. ( &(objectCategory=Person)(sAMAccountName=* ) ( |(memberOf=CN=IGXUS Preview Users,OU=IGXUS,OU=External,OU=Colo Users,DC=ad,DC=igrafxdemo,DC=com )(memberOf=CN=iGrafx Preview Administrators,OU=External,OU=Colo Users,DC=ad,DC=igrafxdemo,DC=com ) ) ) Please note the bracket color coding for statement, AND, OR. See the following example on how to combine search constraints.
Build your query, or better parts of the query you later concatenate via an OR statement as the search container dialog treats all constraints as an AND concatenation. Note while building the query you can click through the tree to find the right object addresses. Right click that folder and select Search Container. Click down the AD tree until you reach a point in the directory you think is the right place to start a query, your Search base in the iGrafx Plaform administration. Connect to your active directory with the same credentials you want to use in the iGrafx Platform to import from the Active Directory. At download AdExplorer.exe and run it, there is no installation required. It may help you while learning how to write LDAP queries. If you are starting to write your first queries this tool may help you to explore your AD structure and the required syntax of queries. Microsoft Sysinternals - Active Directory Explorer In the Find drop down select Custom Search.
Run %SystemRoot%\SYSTEM32\rundll32.exe dsquery,OpenQueryWindow.From a windows command line or run dialog.If your main interest is in testing a query, this is a good tool which is included in the Windows operating system.
You want to import users and groups from Active Directory and want to develop and test your own LDAP query.