assign_permission_set
Assign one or more Salesforce permission sets to org users or admins using CLI aliases, enabling bulk access management across target orgs.
Instructions
Assign a permission set to one or more org users. To specify an alias for the --target-org or --on-behalf-of flags, use the CLI username alias, such as the one you set with the 'alias set' command. Don't use the value of the Alias field of the User Salesforce object for the org user. To assign multiple permission sets, specify multiple names in the permissionSetNames array. Enclose names that contain spaces in the array elements. The same syntax applies to onBehalfOf array for specifying multiple users.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |