Identify Logged-In User
Command Execution
You can easily find the identification of the user account that is currently logged in to the CLI.
To identify the user currently logged in to the CLI, execute the following command:
This will print the email address of the logged-in user.
Execute with --dc Option
If you execute this command with the --dc option and specify the data center, the command will return the email address of the user login of that data center.
As explained in the CLI Options help page , Catalyst enables you to maintain valid login tokens for multiple data centers simultaneously. Therefore, if you had logged in to one data center with a user account, and another data center with a different user account, the catalyst whoami command will print the user login of that data center, when used with the --dc option.
You can identify the user currently logged in to a specific data center, by executing the following command:
Last Updated 2024-01-09 17:07:13 +0530 +0530
Yes
No
Send your feedback to us