I'm creating a workflow that will create a site. It will require adding existing groups to these sites as well with defined permissions like Read or Edit. I created a UDA and used the web service UserGroups.aspx but I can only find a method to Add or create a new group. Anyone have any ideas?
Solved! Go to Solution.
It looks like the UserGroups method of AddGroupToRole will only update the site collection role and not the web or sub site level.
Try Permissions.asmx method AddPermissions
AddPermission("Web_Title", "Web", "Group_Name", "group", 0x00000002 | 0x00000400);
Sorry, I did not test if this works. Just wanted to try and give you a lead.
Hi Adam, which method you are using? please let us know which method you used from here: https://msdn.microsoft.com/en-us/library/ms774422(v=office.12).aspx also paste a screenshot of the call web service configuration so we can see the configuration you used. Thanks,