SharePoint Version - 2013
Nintex Workflows - 2013
I've 200+ lists where inheritance is broken and 2 users have been granted permission (different lists have different users). Now the requirement is to remove these users and grant permission to a SharePoint group.
Using "Permissions.asmx" web service, I'm able to:
1. Add permission
2. Get Permission web method is giving me all the results (seems it's giving all the information from site collection level)
But my issue is with:
1. RemovePermission - It needs user's loginname. I'm unable to get this information since all my lists have different users
2. RemovePermissionCollection - It needs a memberIdsXML information. Since I don't know which user has access to that particular list, how to get member ID of that user? And also the format of XML !!!
Can you please explain why you want to use a workflow in that case? The same thing should be quite easy using powershell:
I've a 3rd party add-on which is creating a list and also breaks inheritance on that list which it's creating and grants permissions to certain individuals....The way the process is:
I know I can use PS script to remove/set permissions but we want business to manage this once it's done and that's the reason we want to use Nintex workflow.