ONTAP 9.14.1 commands

security login whoami

Show the current user and role of this session

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


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.


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
Top of Page