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
Was this page helpful? Yes No
Submitting...
Thank you
Comments