Impersonation - setAutomationPrincipalForRole

Impersonation - setAutomationPrincipalForRole

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 associated the BLAdmins role with the "CorpDomainAdmin" automation principal.

Script





Impersonation setAutomationPrincipalForRole BLAdmins CorpDomainAdmin 



Was this page helpful? Yes No Submitting... Thank you

Comments