Contact us

Remove all site permissions for user(s)/group(s)

This activity removes all permission assignments from a site for user(s)\group(s), breaking list permission inheritance if necessary.

SharePoint Designer phrase

remove_all_site_permissions_for_user(s)_group(s)_1

Parameters#

Input parameters

ParameterDescriptionExample
The following user(s)/group(s)User(s)/group(s) for which you want to removepermissions from site.User id, login name, email, group name
SiteURL (optional)The URL of a source SharePoint site where you want to remove user(s)/group(s) permissions from. If thevalue field is empty, current site will be used.https://contoso/SiteUrl; https://contoso/Sites/SiteUrl;[%Workflow Context:Current Site URL%]/subSite

Example

remove_all_site_permissions_for_user(s)_group(s)_2

**Note:**We recommend you to run all Virto Permissions actions inside App Step to avoid failing of your subsequent actions inside the workflow.

Example

remove_all_site_permissions_for_user(s)_group(s)_3

Was this article helpful to you?

Updated on October 28, 2024