Tag Info

New answers tagged

0

Use following code: private static void DeleteUserFromList(SPUser userDeleted, string fieldName, SPListItem item, SPWeb sPWeb) { SPFieldUserValueCollection Users = (SPFieldUserValueCollection)item[fieldName]; SPFieldUserValue DeletedUserValue = Users.First(u => u.LookupId == userDeleted.ID); Users.Remove(DeletedUserValue); item[fieldName] ...



Top 50 recent answers are included