Ldap - addQueryPermission
Ldap - addQueryPermission
Description :
This adds a permission (role,authorization) to an LDAP query. This command returns the ACL object.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
queryName | String | Name of the LDAP query. |
roleName | String | Name of the role. |
authName | String | Name of the authorization. |
Example
The following example gives the role SyncAdmins permission to read a defined LDAP query with the name AllUsers.
Script
Ldap addPermission AllUsers SyncAdmins LdapQuery.Read
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*