sfdx force:user:permset:assign
Assign a permission set to one or more users of an org
Options
Name | Description |
---|---|
--json | Format output as json |
--loglevel <loglevel> | Logging level for this command invocation |
-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 |
-n, --permsetname <permsetname> | Comma-separated list of permission sets to assign |
-o, --onbehalfof <onbehalfof> | Comma-separated list of usernames or aliases to assign the permission set to |