I have a list with a multi select (user and group) field. I want to grab the values from there and then pass them to the add permissions method.
I grab the values but they come out like this
12;#Hanks, Tom 13;#Portal Visitors
How can I convert this into something that can be passed into the
New-Object Microsoft.SharePoint.SPRoleAssignment method so I can add their name to permissions, whether its a user or group?
If I try ensure user on
Hanks, Tom, won't that be an issue incase there are 2 people called Tom Hanks?