hardis:org:user:activateinvalid
Description
Update sandbox users so their email is valid
Example: replaces toto@company.com.dev.invalid
with toto@company.com.dev.invalid
See article below
Parameters
Name | Type | Description | Default | Required | Options |
---|---|---|---|---|---|
apiversion | option | override the api version used for api requests made by this command | |||
debug -d |
boolean | Activate debug mode (more logs) | |||
json | boolean | format output as json | |||
loglevel | option | logging level for this command invocation | warn | trace debug info warn error fatal |
|
profiles -p |
option | Comma-separated list of profiles names that you want to reactive users assigned to and with a .invalid email | |||
skipauth | boolean | Skip authentication check when a default username is required | |||
targetusername -u |
option | username or alias for the target org; overrides default target org | |||
websocket | option | Websocket host:port for VsCode SFDX Hardis UI integration |
Examples
$ sfdx hardis:org:user:activateinvalid
$ sfdx hardis:org:user:activateinvalid --targetusername myuser@myorg.com
$ sfdx hardis:org:user:activateinvalid --profiles 'System Administrator,MyCustomProfile' --targetusername myuser@myorg.com