Impersonation - findByAssociatedRole
Impersonation - findByAssociatedRole
Description :
This command returns a list of names of all automation principals that are associated with a given role. This command prints a formatted list with each automation principal name on its own line.
Return type : String
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
roleName | String | Name of the RBAC Role. |
Example
The following example finds all automation principals that are associated with the BLAdmins role.
Script
Impersonation findByAssociatedRole BLAdmins
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*