Information

This site will undergo a brief period of maintenance on Thursday, 23 April at 2:30 AM Central/1:00 PM IST. During a 30 minute window, site availability may be intermittent.

Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

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*

BMC Server Automation Command Line Interface 8.3