This project is read-only.

Grant Permission on Item - Allow multiple groups to be granted permission from a single field


Has anyone found a solution to not being able to Grant permission on item to more than one group from a single field? I currently have the need to assign about 20 SharePoint groups permission to one item.


hstaples wrote Jan 10, 2013 at 1:53 PM

Yes, it's possible.

We've been using it for several years reliably, but it took a code change locally before pushing it out. In the AddLisItemPermissionAssignment.cs file, for the Execute method when you do a multiple select, it's still a string value, but those groups will be separated by semi-colons (going on memory here). So, split the UserName string on semi-colon and then foreach through the list. May have needed a Trim() on the string as well before using it.

wrote Feb 22, 2013 at 1:35 AM