Cisco Cisco Email Security Appliance C160 Références techniques

Page de 458
 
458
Cisco AsyncOS 8.5 CLI Reference Guide
 
Chapter 3      The Commands: Reference Examples
  User Management
Example
whoami
Description
The 
whoami
 command displays the username and full name of the user currently logged in, and which 
groups the user belongs to.
Usage
Commit: This command requires a ‘commit’.
Cluster Management: This command can be used in all three machine modes (cluster, group, machine).
Batch Command: This command does not support a batch format.
Example
Table 3-184
who
 
mail3.example.com> who
Username  Login Time  Idle Time  Remote Host  What
========  ==========  =========  ===========  ====
admin     03:27PM     0s         10.1.3.201   cli
Table 3-185
whoami
 
mail3.example.com> whoami
Username: admin
Full Name: Administrator
Groups: admin, operators, config, log, guest