explain_ptype
Use the explain_ptype
command to translate the account type for a role assignment into a descriptive text string.
Syntax
explain_ptype pt
Options
This command takes no options.
Arguments
This command takes the following argument:
Argument | Type | Description |
pt |
string |
Required. Specifies the ptype value returned for a role assignment that you want to convert to a text string. |
Return value
This command returns a text string that describes the type of account associated with a role assignment.
Examples
select_role_assignment "lulu@acme.test/UNIX Login" get_role_assignment_field ptype a explain_ptype a
This example returns:
All AD users
The following table summarizes the descriptive names for different account types that can be associated with a role assignment:
Account type | |
Local UNIX user |
# |
Local UNIX group |
% |
Local Windows User |
$ |
Local Windows Group |
: |
All AD users |
a |
All Unix users |
x |
All Windows users |
w |