I have a Nintex workflow set on a "Employee Directory" custom list that adds a user to a specific SharePoint group when a new employee is added to that list, it works fine. What I need to now is to have a workflow that will REMOVE a user if they are deleted from this group. Is this possible?
Page 1 / 1
Hi Tonya Rezor
Check out the following answer may be useful
Delete users from SharePoint Group is follows
To delete users from a SharePoint site:
- In your site, click Site Contents, and then click Settings.
- Under "Users and Permissions", click People and groups.
- On the left, select the group from which you'd like to remove the users.
- Use the checkboxes to select the users you want to delete.
- Click Actions, and then select Remove Users from Group.
- Click OK to confirm the deletion.
Thank you
Suresh Prabhu
how do you add them to the group?
if you're on an enterprise version, there is available dedicated action - Remove user from AD group.
if you aren't on enterprise you will have to make direct call to SP's UserGroup.asmx webservice and it method(s)
RemoveUserFromGroup or RemoveUserCollectionFromGroup
UserGroup Members (WebSvcUserGroup) | Microsoft Docs
That's how to do it manually. How is it done via workflow? There is action=Add User to Group but there is no corresponding action to remove a user from a group. As noted below, there is an option to remove a user from an AD Security group, but that is not the same thing.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.