This activity grants permission on the site. You can override or append user or group grant permissions. Value of permission field by default can be one of the following values:
None
Guest
Reader
Contributor
Web
designer
Administrator
Editor
System
SharePoint Designer phrase
The activity supports multi permission assignment. Use ‘,’ or ‘;’ separator to grant several permission. Example:
“Approve, Read, View Only”.
SharePoint Workflow Designer Phrase
Grant this level permission on site url to this members. Override current permissions: No
Parameters
Input parameters
Parameter | Description | Example |
The following | Permission level string. Multi permission assignments are supported. Use ‘,’ or ‘;’ separator to grant several permissions.Example: | Guest, Reader, Editor, etc. |
SiteURL (optional) | The URL of a source SharePoint site. If the value field is empty, current sitewill be used. | https://contoso/SiteUrl; https://contoso/Sites/SiteUrl;[%Workflow Context:Current Site URL%]/subSite |
User(s)/group(s) | User login, e-mail, group name, group ID | “user@domain”, “domain\user”. It allows multiple values separated by a semicolon. |
Variable | Override current permissions | No – a new permission will be added to existed permissionsYes – a new permission will override (remove) all oldpermissions |
Example
Note: We recommend you to run all Virto Permissions actions inside App Step to avoid failing of your subsequent actions inside the workflow.
Example