BlMntWindow - addWindowPermission
BlMntWindow - addWindowPermission
Description :
This command adds the permission specified by the role and authorization to 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 add the permission consisting of the role "SampleRole" and the authorization "Server.Read" to a maintenance window called "Test Window" within ACL policy called "Test Policy".
Script
BlMntWindow addWindowPermission "Test Policy" "TestWindow" SampleRole Server.Read
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*