Skip to content

Commit 8366e79

Browse files
author
SF-CLI-BOT
committed
chore(release): 1.4.0 [ci skip]
1 parent a983eb4 commit 8366e79

File tree

3 files changed

+67
-10
lines changed

3 files changed

+67
-10
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [1.4.0](https://github.com/salesforcecli/plugin-user/compare/v1.3.1...v1.4.0) (2021-07-13)
6+
7+
8+
### Features
9+
10+
* checking metadata ([9c52240](https://github.com/salesforcecli/plugin-user/commit/9c5224000a281932541d7f6963043934fbe6af31))
11+
* update password generation functionality ([b1e9c39](https://github.com/salesforcecli/plugin-user/commit/b1e9c39bfebf42376dd7479544f2de799f749626))
12+
513
### [1.3.1](https://github.com/salesforcecli/plugin-user/compare/v1.3.0...v1.3.1) (2021-07-08)
614

715
## [1.3.0](https://github.com/salesforcecli/plugin-user/compare/v1.2.11...v1.3.0) (2021-05-19)

README.md

Lines changed: 58 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,17 @@ For more NUT options and examples, see <https://github.com/salesforcecli/cli-plu
9090
* [`sfdx force:user:create [name=value...] [-a <string>] [-f <string>] [-s] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forceusercreate-namevalue--a-string--f-string--s--v-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
9191
* [`sfdx force:user:display [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forceuserdisplay--v-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
9292
* [`sfdx force:user:list [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forceuserlist--v-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
93-
* [`sfdx force:user:password:generate [-o <array>] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forceuserpasswordgenerate--o-array--v-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
93+
* [`sfdx force:user:password:generate [-o <array>] [-l <integer>] [-c <integer>] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forceuserpasswordgenerate--o-array--l-integer--c-integer--v-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
9494
* [`sfdx force:user:permset:assign -n <array> [-o <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forceuserpermsetassign--n-array--o-array--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
9595

9696
## `sfdx force:user:create [name=value...] [-a <string>] [-f <string>] [-s] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
9797

9898
create a user for a scratch org
9999

100100
```
101+
create a user for a scratch org
102+
Create a user for a scratch org, optionally setting an alias for use by the CLI, assigning permission sets (e.g., permsets=ps1,ps2), generating a password (e.g., generatepassword=true), and setting User sObject fields.
103+
101104
USAGE
102105
$ sfdx force:user:create [name=value...] [-a <string>] [-f <string>] [-s] [-v <string>] [-u <string>] [--apiversion
103106
<string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
@@ -138,13 +141,16 @@ EXAMPLES
138141
sfdx force:user:create -f config/project-user-def.json email=me@my.org generatepassword=true
139142
```
140143

141-
_See code: [src/commands/force/user/create.ts](https://github.com/salesforcecli/plugin-user/blob/v1.3.0/src/commands/force/user/create.ts)_
144+
_See code: [src/commands/force/user/create.ts](https://github.com/salesforcecli/plugin-user/blob/v1.3.1/src/commands/force/user/create.ts)_
142145

143146
## `sfdx force:user:display [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
144147

145148
displays information about a user of a scratch org
146149

147150
```
151+
displays information about a user of a scratch org
152+
Output includes the profile name, org ID, access token, instance URL, login URL, and alias if applicable.
153+
148154
USAGE
149155
$ sfdx force:user:display [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
150156
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
@@ -172,13 +178,16 @@ EXAMPLES
172178
sfdx force:user:display -u me@my.org --json
173179
```
174180

175-
_See code: [src/commands/force/user/display.ts](https://github.com/salesforcecli/plugin-user/blob/v1.3.0/src/commands/force/user/display.ts)_
181+
_See code: [src/commands/force/user/display.ts](https://github.com/salesforcecli/plugin-user/blob/v1.3.1/src/commands/force/user/display.ts)_
176182

177183
## `sfdx force:user:list [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
178184

179185
list all authenticated users of an org
180186

181187
```
188+
list all authenticated users of an org
189+
The original scratch org admin is marked with "(A)"
190+
182191
USAGE
183192
$ sfdx force:user:list [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
184193
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
@@ -207,18 +216,43 @@ EXAMPLES
207216
sfdx force:user:list --json > tmp/MyUserList.json
208217
```
209218

210-
_See code: [src/commands/force/user/list.ts](https://github.com/salesforcecli/plugin-user/blob/v1.3.0/src/commands/force/user/list.ts)_
219+
_See code: [src/commands/force/user/list.ts](https://github.com/salesforcecli/plugin-user/blob/v1.3.1/src/commands/force/user/list.ts)_
211220

212-
## `sfdx force:user:password:generate [-o <array>] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
221+
## `sfdx force:user:password:generate [-o <array>] [-l <integer>] [-c <integer>] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
213222

214223
generate a password for scratch org users
215224

216225
```
226+
generate a password for scratch org users
227+
Generates and sets a random password for one or more scratch org users. Targets the usernames listed with the --onbehalfof parameter or the --targetusername parameter. Defaults to the defaultusername.
228+
229+
If you haven’t set a default Dev Hub, or if your scratch org isn’t associated with your default Dev Hub, --targetdevhubusername is required.
230+
231+
To change the password strength, set the --complexity parameter to a value between 0 and 5.
232+
Each value specifies the types of characters used in the generated password:
233+
234+
0 - lower case letters only.
235+
1 - lower case letters and numbers only.
236+
2 - lower case letters and symbols only.
237+
3 - lower and upper case letters and numbers only
238+
4 - lower and upper case letters and symbols only
239+
5 - lower and upper case letters and numbers and symbols only
240+
241+
To see a password that was previously generated, run "sfdx force:user:display".
242+
217243
USAGE
218-
$ sfdx force:user:password:generate [-o <array>] [-v <string>] [-u <string>] [--apiversion <string>] [--json]
219-
[--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
244+
$ sfdx force:user:password:generate [-o <array>] [-l <integer>] [-c <integer>] [-v <string>] [-u <string>]
245+
[--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
220246
221247
OPTIONS
248+
-c, --complexity=complexity [default: 5] level of password
249+
complexity or strength; the higher
250+
the value, the stronger the password
251+
252+
-l, --length=length [default: 13] number of characters
253+
in the generated password; valid
254+
values are between 8 and 1000
255+
222256
-o, --onbehalfof=onbehalfof comma-separated list of usernames or
223257
aliases to assign the password to
224258
@@ -243,21 +277,36 @@ DESCRIPTION
243277
If you haven’t set a default Dev Hub, or if your scratch org isn’t associated with your default Dev Hub,
244278
--targetdevhubusername is required.
245279
280+
To change the password strength, set the --complexity parameter to a value between 0 and 5.
281+
Each value specifies the types of characters used in the generated password:
282+
283+
0 - lower case letters only.
284+
1 - lower case letters and numbers only.
285+
2 - lower case letters and symbols only.
286+
3 - lower and upper case letters and numbers only
287+
4 - lower and upper case letters and symbols only
288+
5 - lower and upper case letters and numbers and symbols only
289+
246290
To see a password that was previously generated, run "sfdx force:user:display".
247291
248292
EXAMPLES
249293
sfdx force:user:password:generate
294+
sfdx force:user:password:generate -l 12
295+
sfdx force:user:password:generate -c 3
250296
sfdx force:user:password:generate -u me@my.org --json
251297
sfdx force:user:password:generate -o "user1@my.org,user2@my.org,user3@my.org"
252298
```
253299

254-
_See code: [src/commands/force/user/password/generate.ts](https://github.com/salesforcecli/plugin-user/blob/v1.3.0/src/commands/force/user/password/generate.ts)_
300+
_See code: [src/commands/force/user/password/generate.ts](https://github.com/salesforcecli/plugin-user/blob/v1.3.1/src/commands/force/user/password/generate.ts)_
255301

256302
## `sfdx force:user:permset:assign -n <array> [-o <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
257303

258304
assign a permission set to one or more users of an org
259305

260306
```
307+
assign a permission set to one or more users of an org
308+
To specify an alias for the -u or -o parameter, use the username alias you set with the "alias:set" CLI command, not the User.Alias value of the org user.
309+
261310
USAGE
262311
$ sfdx force:user:permset:assign -n <array> [-o <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
263312
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
@@ -291,5 +340,5 @@ EXAMPLES
291340
sfdx force:user:permset:assign -n DreamHouse -o "user1@my.org,user2,user3"
292341
```
293342

294-
_See code: [src/commands/force/user/permset/assign.ts](https://github.com/salesforcecli/plugin-user/blob/v1.3.0/src/commands/force/user/permset/assign.ts)_
343+
_See code: [src/commands/force/user/permset/assign.ts](https://github.com/salesforcecli/plugin-user/blob/v1.3.1/src/commands/force/user/permset/assign.ts)_
295344
<!-- commandsstop -->

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/plugin-user",
33
"description": "Commands to interact with Users and Permission Sets",
4-
"version": "1.3.1",
4+
"version": "1.4.0",
55
"author": "Salesforce",
66
"bugs": "https://github.com/forcedotcom/cli/issues",
77
"dependencies": {

0 commit comments

Comments
 (0)