MaintenanceWindow - addPermission
MaintenanceWindow - addPermission
Description :
This command adds a permission to a maintenance window.
Returns the DBKey of the modified object.
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
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 MaintenanceWindow.Modify to a maintenance window named WeeklyMaintWindow.
Script
blcli MaintenanceWindow addPermission WeeklyMaintWindow SampleRole MaintenanceWindow.Modify
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*