Remove user from all site groups

⌘K

Remove user from all site groups

This activity removes a member from all SharePoint site groups. SharePoint Designer phrase

remove_user_from_all_site_groups_1

If the user or secure group doesn’t exist, this method does nothing.

Parameters

Input parameters

ParameterDescriptionExample
The following user(s)User login name, e-mail. Allowed multiple users or groups separated ‘;’.“mycompany\john; john@gmail.com
SiteURL (optional)The URL of a source SharePoint site. If the valuefield is empty, current site will be used.https://contoso/SiteUrl; https://contoso/Sites/SiteUrl;[%Workflow Context:Current Site URL%]/subSite

Example

remove_user_from_all_site_groups_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_user_from_all_site_groups_3

How can we help?