SharePoint programmatically managing item permissions
Assigning SharePoint List Item level permission programmatically To add item level permission in an SharePoint List or Library, you need to keep three things in mind: You have a valid SPUser object in your hand You have to break the role assignment inheritance for the list You have to add Role Definition and Role Assignment to the targeted list item Though above statements looks complicated, don't think much about them – just use following two functions wisely and you are done :) Assumption: 1. You have SPListItem object in your hand 2. You have a valid SPUser in your hand Working: First call the below method and pass the SPListItem as the input parameter: RemoveAllPermissions Function private static void RemoveAllPermissions( SPListItem CurrentlistItem) { //The below function Breaks the role assignment inheritance for the list and gives the current list its own copy of the role assignments CurrentlistItem.BreakRoleInhe