BlMntWindow - removeWindowPermission
BlMntWindow - removeWindowPermission
Description :
This command removes the Ace specified by the role and authorization from the ACL of the maintenance window specified by policy name and window name Returns the DBKey of the maintenance window.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
policyName | String | Name of the ACL policy. |
windowName | String | Name of the Maintenance Window. |
roleName | String | Name of the role. |
authName | String | Name of the authorization. |
Example
The following example shows how to remove the permission consisting of the role "SampleRole" and the authorization "Server.Read" from a maintenance window called "Test Window" within ACL policy called "Test Policy".
Script
BlMntWindow removeWindowPermission "Test Policy" "TestWindow" SampleRole Server.Read
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*