Ldap - removeQueryPermission
Ldap - removeQueryPermission
Description :
This command removes a permission (role,authorization) from 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 removes the permission to read an LDAP query AllUsers from role SyncAdmins.
Script
Ldap removePermission AllUsers SyncAdmins LdapQuery.Read
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*