So I created a custom list with a person field. The person field has multiple names of people. What I want to do is get an Item' [person field] data and put it into a SPUserCollection, I tried to do something like this:
SPUserCollection users = (properties.Web.Lists[listName].GetItemById(properties.ListItemId)[people]);
foreach(spUser in users)
{
my awesome code;
}
anyone know how to solve this, thanks!

propertiesis, but if it is SPItemEventProperties then I would like to note that you can doproperties.ListItem. And now that Egor pointed out you get SPFieldUserValueCollection, give you have a SPFieldUser field I will just leave this as a comment :) – eirikb Jan 15 at 6:53