-
Notifications
You must be signed in to change notification settings - Fork 1
Query filters
Robert Wikman edited this page Jun 27, 2018
·
5 revisions
The filter query parameter may utilize the ldap3 Simplified Query Language.
Examples
| Description | Filter |
|---|---|
| User alias equal to Angel | api/users?filter=alias:Angel |
| User alias equal to Ginger or Candy | api/users?filter=alias:Ginger;Candy |
| logon_count greater than or equal to 1 | api/users?filter=logon_count:>1 |
| logon_count between [100, 200] | api/users?filter=&logon_count:>100;<200 |
| Group name not equal to admins | api/groups?filter=name:!=admins |
Check out the ldap3 documentation for more info.