sfdx force:user:create

Create a user for a scratch org

Options

NameDescription
--jsonFormat output as json
--loglevel <loglevel>Logging level for this command invocation
-v, --targetdevhubusername <targetdevhubusername>Username or alias for the dev hub org; overrides default dev hub org
-u, --targetusername <targetusername>Username or alias for the target org; overrides default target org
--apiversion <apiversion>Override the api version used for api requests made by this command
-a, --setalias <setalias>Set an alias for the created username to reference within the CLI
-f, --definitionfile <definitionfile>File path to a user definition
-s, --setuniqueusernameForce the username, if specified in the definition file or at the command line, to be unique by appending the org ID