ExecutionTask - applyAclTemplate
ExecutionTask - applyAclTemplate
Description :
This command applies an ACL template to an execution task. Returns the DBKey of the modified object.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
etKey | com.bladelogic.om.infra.model.base.keys.SExecutionTaskKey | Handle to the execution task.. |
templateName | String | Name of the ACL template to use. |
replace | Boolean | Flag indicating whether or not you want to replace all ACL entries (true/false). |
Example
The following example shows how to apply the ACL template called "My Template" to an execution task.
Script
ET_KEY=`blcli ExecutionTask getDBKeyByGroupAndName /tasks tstEt`
ExecutionTask applyAclTemplate $ET_KEY "My Template" true
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*