Ldap - setQueryFilter
Ldap - setQueryFilter
Description :
This command sets the LDAP filter of an existing LDAP query. This command returns a handle to the updated LDAP query object.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
queryName | String | Name of the LDAP query. |
ldapFilter | String | LDAP filter to use in the query. |
Example
The following example modifies the LDAP filter of a given LDAP query.
Script
Ldap setQueryFilter Administrators (objectClass=person)
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*