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.

RBACRole - setAssociatedAutomationPrincipal


RBACRole - setAssociatedAutomationPrincipal

Description :

This command associates an automation principal with an RBAC role. Any existing associations between the RBAC role and other automation principals are removed.

Return type : void

Command Input :

Variable Name

Variable Type

Description

roleName

String

Name of the RBAC Role.

principalName

String

Name of the automation principal.

Example

The following example associates the BLAdmins role with the "CorpDomainAdmin" automation principal.

Script





RBACRole setAssociatedAutomationPrincipal BLAdmins CorpDomainAdmin



 

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