whoami Commands (Retiring)

Commands to show information about yourself or your account.

On January 31, 2025, Salesforce will retire Salesforce Functions, also known as Salesforce Elastic Services. See Salesforce Functions Retirement for more information.

Important

whoami functions

Show information on your Salesforce Functions login.

Description for whoami functions

Returns your email and ID. Use '--show-token' to show your Salesforce Functions token.

Examples for whoami functions

Get account information:

1sf whoami functions

Show token and output result as JSON:

1sf whoami functions --show-token --json

Flags

--json
Optional

Format output as json.

Type: boolean