Skip to main content
A newer release of this product is available.

security login whoami

Contributors
Suggest changes

Show the current user and role of this session

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The security login whoami command displays the name and role of the user logged in at the current console session. It takes no options or other parameters.

Examples

The following example shows that the current session is logged in by using the 'admin' user account:

cluster1::> whoami
              (security login whoami)
User: admin
            Role: admin