Listing the roles for a user

The rolelist command provides role and authorization information about a user's current roles or the roles that have been assigned to them.

By default, the rolelist command displays the list of roles that have been assigned to the user. This is basically the same information displayed by the lsuser -a roles user1 command except that it also includes the text description of the role if one has been provided.
  • To list your assigned roles and associated authorizations, run the following command:
    rolelist -a