@@ -88,79 +88,13 @@ For more NUT options and examples, see <https://github.com/salesforcecli/cli-plu
88
88
89
89
<!-- commands -->
90
90
91
- - [ ` sf force user password generate ` ] ( #sf-force-user-password-generate )
92
91
- [ ` sf org assign permset ` ] ( #sf-org-assign-permset )
93
92
- [ ` sf org assign permsetlicense ` ] ( #sf-org-assign-permsetlicense )
94
93
- [ ` sf org create user ` ] ( #sf-org-create-user )
95
94
- [ ` sf org display user ` ] ( #sf-org-display-user )
96
95
- [ ` sf org generate password ` ] ( #sf-org-generate-password )
97
96
- [ ` sf org list users ` ] ( #sf-org-list-users )
98
97
99
- ## ` sf force user password generate `
100
-
101
- Generate a random password for scratch org users.
102
-
103
- ```
104
- USAGE
105
- $ sf force user password generate -u <value> [--json] [-o <value>] [-l <value>] [-c <value>] [--api-version <value>]
106
-
107
- FLAGS
108
- -c, --complexity=<value> [default: 5] Level of password complexity or strength; the higher the value, the
109
- stronger the password.
110
- -l, --length=<value> [default: 13] Number of characters in the generated password; valid values are between
111
- 8 and 100.
112
- -o, --on-behalf-of=<value>... Comma-separated list of usernames or aliases to assign the password to; must have been
113
- created locally with the "org create user" command.
114
- -u, --target-org=<value> (required) Scratch org alias or login user.
115
- --api-version=<value> Override the api version used for api requests made by this command
116
-
117
- GLOBAL FLAGS
118
- --json Format output as json.
119
-
120
- DESCRIPTION
121
- Generate a random password for scratch org users.
122
-
123
- By default, new scratch orgs contain one admin user with no password. Use this command to generate or change a
124
- password for this admin user. After it's set, you can’t unset a password, you can only change it.
125
-
126
- You can also use the --on-behalf-of flag to generate a password for a scratch org user that you've created locally
127
- with the "org create user" command. This command doesn't work for users you created in the scratch org using Setup.
128
-
129
- To change the password strength, set the --complexity flag to a value between 0 and 5. Each value specifies the types
130
- of characters used in the generated password:
131
-
132
- 0 - lower case letters only
133
- 1 - lower case letters and numbers only
134
- 2 - lower case letters and symbols only
135
- 3 - lower and upper case letters and numbers only
136
- 4 - lower and upper case letters and symbols only
137
- 5 - lower and upper case letters and numbers and symbols only
138
-
139
- To see a password that was previously generated, run "org display user".
140
-
141
- EXAMPLES
142
- Generate a password for the original admin user of your default scratch org:
143
-
144
- $ sf force user password generate
145
-
146
- Generate a password that contains 12 characters for the original admin user of the scratch org with alias
147
- "my-scratch":
148
-
149
- $ sf force user password generate --length 12 --target-org my-scratch
150
-
151
- Generate a password for your default scratch org admin user that uses lower and upper case letters and numbers only:
152
-
153
- $ sf force user password generate --complexity 3
154
-
155
- Generate a password for the specified users in the default scratch org; these users must have been created locally
156
- with the "org create user" command:
157
-
158
- $ sf force user password generate --on-behalf-of user1@my.org --on-behalf-of user2@my.org --on-behalf-of \
159
- user3@my.org
160
- ```
161
-
162
- _ See code: [ src/commands/force/user/password/generate.ts] ( https://github.com/salesforcecli/plugin-user/blob/3.1.5/src/commands/force/user/password/generate.ts ) _
163
-
164
98
## ` sf org assign permset `
165
99
166
100
Assign a permission set to one or more users of a scratch org.
@@ -202,7 +136,7 @@ EXAMPLES
202
136
$ sf org assign permset --name DreamHouse --on-behalf-of user1@my.org --on-behalf-of user2 --on-behalf-of user
203
137
```
204
138
205
- _ See code: [ src/commands/org/assign/permset.ts] ( https://github.com/salesforcecli/plugin-user/blob/3.1.5 /src/commands/org/assign/permset.ts ) _
139
+ _ See code: [ src/commands/org/assign/permset.ts] ( https://github.com/salesforcecli/plugin-user/blob/3.2.0 /src/commands/org/assign/permset.ts ) _
206
140
207
141
## ` sf org assign permsetlicense `
208
142
@@ -246,7 +180,7 @@ EXAMPLES
246
180
user3
247
181
```
248
182
249
- _ See code: [ src/commands/org/assign/permsetlicense.ts] ( https://github.com/salesforcecli/plugin-user/blob/3.1.5 /src/commands/org/assign/permsetlicense.ts ) _
183
+ _ See code: [ src/commands/org/assign/permsetlicense.ts] ( https://github.com/salesforcecli/plugin-user/blob/3.2.0 /src/commands/org/assign/permsetlicense.ts ) _
250
184
251
185
## ` sf org create user `
252
186
@@ -345,7 +279,7 @@ FLAG DESCRIPTIONS
345
279
might be different than what you specify in the definition file.
346
280
```
347
281
348
- _ See code: [ src/commands/org/create/user.ts] ( https://github.com/salesforcecli/plugin-user/blob/3.1.5 /src/commands/org/create/user.ts ) _
282
+ _ See code: [ src/commands/org/create/user.ts] ( https://github.com/salesforcecli/plugin-user/blob/3.2.0 /src/commands/org/create/user.ts ) _
349
283
350
284
## ` sf org display user `
351
285
@@ -383,7 +317,7 @@ EXAMPLES
383
317
$ sf org display user --target-org me@my.org --json
384
318
```
385
319
386
- _ See code: [ src/commands/org/display/user.ts] ( https://github.com/salesforcecli/plugin-user/blob/3.1.5 /src/commands/org/display/user.ts ) _
320
+ _ See code: [ src/commands/org/display/user.ts] ( https://github.com/salesforcecli/plugin-user/blob/3.2.0 /src/commands/org/display/user.ts ) _
387
321
388
322
## ` sf org generate password `
389
323
@@ -448,7 +382,7 @@ EXAMPLES
448
382
$ sf org generate password --on-behalf-of user1@my.org --on-behalf-of user2@my.org --on-behalf-of user3@my.org
449
383
```
450
384
451
- _ See code: [ src/commands/org/generate/password.ts] ( https://github.com/salesforcecli/plugin-user/blob/3.1.5 /src/commands/org/generate/password.ts ) _
385
+ _ See code: [ src/commands/org/generate/password.ts] ( https://github.com/salesforcecli/plugin-user/blob/3.2.0 /src/commands/org/generate/password.ts ) _
452
386
453
387
## ` sf org list users `
454
388
@@ -485,6 +419,6 @@ EXAMPLES
485
419
$ sf org list users --target-org me@my.org
486
420
```
487
421
488
- _ See code: [ src/commands/org/list/users.ts] ( https://github.com/salesforcecli/plugin-user/blob/3.1.5 /src/commands/org/list/users.ts ) _
422
+ _ See code: [ src/commands/org/list/users.ts] ( https://github.com/salesforcecli/plugin-user/blob/3.2.0 /src/commands/org/list/users.ts ) _
489
423
490
424
<!-- commandsstop -->
0 commit comments