Identify Logged-In User
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 2023-04-19 15:32:07 +0530 +0530
Send your feedback to us