generated from salesforcecli/plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update "org generate password" help to say --on-behalf-of works …
…for only locally-created users
- Loading branch information
1 parent
b206632
commit b20d852
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,9 @@ Generate a random password for scratch org users. | |
|
||
# description | ||
|
||
By default, new scratch orgs contain one admin user with no password. Use this command to generate or change a password for any scratch org user. After it's set, you can’t unset a password, you can only change it. | ||
By default, new scratch orgs contain one admin user with no password. Use this command to generate or change a password for this admin user. After it's set, you can’t unset a password, you can only change it. | ||
|
||
You can also use the --on-behalf-of flag to generate a password for a scratch org user that you've created locally with the "org create user" command. This command doesn't work for users you created in the scratch org using Setup. | ||
|
||
To change the password strength, set the --complexity flag to a value between 0 and 5. Each value specifies the types of characters used in the generated password: | ||
|
||
|
@@ -31,13 +33,13 @@ To see a password that was previously generated, run "org display user". | |
|
||
<%= config.bin %> <%= command.id %> --complexity 3 | ||
|
||
- Generate a password for the specified users in the default scratch org: | ||
- Generate a password for the specified users in the default scratch org; these users must have been created locally with the "org create user" command: | ||
|
||
<%= config.bin %> <%= command.id %> --on-behalf-of [email protected] --on-behalf-of [email protected] --on-behalf-of [email protected] | ||
|
||
# flags.onBehalfOf.summary | ||
|
||
Comma-separated list of usernames or aliases to assign the password to. | ||
Comma-separated list of usernames or aliases to assign the password to; must have been created locally with the "org create user" command. | ||
|
||
# flags.length.summary | ||
|
||
|