Directory Search Filters

Table of contents
    1. 1.1. Navigation
  1. 2. Search Filters
    1. 2.1. Reference:

Below are Search Filters which you may find helpul for configuring your AD/LDAP Directory settings or for filtering your Import Users or Import Roles

Navigation

From your AD/LDAP Directory, in either:

  • Directory Settings: Click directory -> Click Advanced Settings -> Search Filters | Additional User Filters
  • Import Users: Actions -> Import Users -> Click "Change Filters"
  • Import Roles: Actions -> Import Roles -> Click "Change Filters"

Enter a user filter here:

AD-Search-Filter-clause-pic.png

Search Filters

Import Users:

All users who are direct members of a specific Group:   * commonly useful

  • memberOf     is      CN=Test,ou=East,dc=Domain,dc=com

All members of a specified group, including in nested Groups:   * commonly useful

  • memberOf:1.2.840.113556.1.4.1941:     is     cn=Test,ou=East,dc=Domain,dc=com

All users with "primary" group "Domain Users":    * commonly useful

  • primaryGroupID    is    513

All users with "common name" starting with "M":   * commonly useful

  • CN    is    M*

All users with "primary" group other than "Domain Users":

  • primaryGroupID    is not    513

 

Import Roles:

All role names that contain "security":     * commonly useful

  • Name   is   *security*

 

Sample filters:

  • Name   is   John Horner
  • Name   is   John *
  • CN   is   John Horner
  • CN   is   John*
  • DisplayName   is   John Horner
  • DisplayName   is   *Horner
  • sAMAccountName   is   JHorner
  • sAMAccountName   is   JH*

 

Tag page
You must login to post a comment.