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.

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?