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 - applyAclPolicy


ExecutionTask - applyAclPolicy

Description :

This command applies an ACL policy to an execution task.

When an ACL policy is applied to an object, all access checks on that object will check both the permissions in its ACL along with the permissions of the associated ACL policy. 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.

policyName

String

Name of the ACL policy to use.

Example

The following example shows how to apply the ACL policy called "Test Policy" to an execution task.

Script





ET_KEY=`blcli ExecutionTask getDBKeyByGroupAndName /tasks tstEt`

ExecutionTask applyAclPolicy $ET_KEY "Test Policy"



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.5