org display user

Display information about a Salesforce user.

Description for org display user 

Output includes the profile name, org ID, instance URL, login URL, and alias if applicable. The displayed alias is local and different from the Alias field of the User sObject record of the new user, which you set in the Setup UI.

Aliases for org display user 

force:user:display

Flags 

Flag Name (Long)Flag Name (Short)Description
‑‑api‑versionN/AType: Value

Override the api version used for api requests made by this command
‑‑flags‑dirN/AType: Value

Import flag values from a directory.
‑‑jsonN/AType: Boolean

Format output as json.
‑‑target‑org‑oType: Value
Required

Username or alias of the target org. Not required if the target-org configuration variable is already set.

Examples for org display user 

Display information about the admin user of your default scratch org:

1sf org display user

Display information about the specified user and output in JSON format:

1sf org display user --target-org me@my.org --json