Identify Logged-In User

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:

$ catalyst whoami
 

This will print the email address of the logged-in user.

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:

$ catalyst whoami --dc <us|eu>

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohocatalyst.com