Assigns a named permission set to one or more users of an org.
It executes the force:user:permset:assign command.
In addition to the attributes used by every ant-sfdx task, this task uses the following attributes:
Attribute | Command line equivalent | Description | Required |
---|---|---|---|
onbehalfof | -o | Comma-separated list of usernames or aliases to assign the permission set to. | No |
permsetname | -n | The name of the permission set to assign. | Yes |
targetusername | -u | A username or alias for the target org. | No |
Version: 0.0.0-master