To display the identity and role of the currently logged-in user, as well as authentication and session information, use the show whoami command in standard mode.
Syntax
show whoami
show whoami
User role
All roles
Supported appliances
This command output was modified as follows:
Network Security: Release 7.5.0
Central Management System: Release 7.5.0
Email Security — Server: Release 7.6.0
Malware Analysis: Release 7.7.0
File Protect: Release 7.7.0
This command displays authentication and session information about the user who is currently logged in. For details about authentication methods and password change policies, see your System Administration Guide or Administration Guide.
Parameters
None
Example
The following example shows the information that is displayed when Martha runs the command.
hostname > show whoami
Username: marthaj Local username: marthaj Full name: Account Status: Password set Role: operator VLAN: not set Subnet: not set Password last set: 2014/12/18 23:38:48 Password age: 1 day 6 hr 15 min 46 sec Password expires: in 88 days 17 hr 44 min 14 sec Must change password: no Login time: 2014/12/20 05:54:31.340 Auth method: local (password) Remote address: 10.10.130.122 Line: pts/0 Session ID: 116797