Skip to main content

Name

authz id — display the id of the current user

Synopsis

authz id

Description

This command displays the id of the current system console user in XML format; any roles associated with that user are also displayed. You can add roles (also known as groups) and assign users to these groups from the web console. You can also do this using ec_uipasswd.

If you are logged in as a user named tom who belongs to the group users, you should see the following output:

<AuthzInformation username="tom">
  <Roles>
    <Role name="users"/>
  </Roles>
</AuthzInformation>

See Also

Was this page helpful?