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
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.