Filtering Users

You can use LDAP search filters to filter the list of users imported from Active Directory.

If you want to filter users based on Active Directory groups, click Add Filter and select the groups you want to filter. Then click Append to append the group filter to the search filter in the Filter box, or click Replace to replace any existing search filter.

If you want to filter on other conditions, you can also write your own LDAP search filters, and combine them with the group filters created with Add Filter. For example, you could type in filters such as:

    (sn=Mark)

selects users with a surname of Mark.

    (!cn=IUSR_*)

filters out all user names that start with IUSR_*.

    (&(!cn=IUSR_*) (!cn=IWAM_*))

filters out all IUSR_<computername> and IWAM_<computername> users.

For more information on the LDAP search filter syntax, see:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adsi/adsi/search_filter_syntax.asp.

Related Topics

Importing User Accounts

Defining Import Rules

Adding Active Directory Servers and Windows Domains

Adding a Windows NT Domain

Import Settings