Chapter 3. Command Reference
whoamiaccess: global; all
The whoami command lists the username, access role, and current path of the logged in user.
list your user information
hostname# whoami User name: sysadmin
Role:
Login:
122 X Family CLI Reference V 2.5.1