org list users

List all locally-authenticated users of an org.

For scratch orgs, the list includes any users you’ve created with the “org create user” command; the original scratch org admin user is marked with “(A)”. For other orgs, the list includes the users you used to authenticate to the org.

force:user:list

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.

List the locally-authenticated users of your default org:

List the locally-authenticated users of the specified org: