cs whoami

Show the signed-in user and the organization every cs command acts on.

cs whoami prints the user id behind the stored session, the active organization with your role in it, and any other organizations you belong to. Account commands act on the active organization.

Usage

cs whoami
Output
  userId: user_01J…
  org:    org_01J… (Acme) [admin]
  other orgs:
    org_01K… (Side project) [member]

The active organization is fixed when you sign in. To open a connect flow in another one, pass --org to cs connectors connect.

On this page