Omicron Llama

Coding all day, every day.

Resetting Item Level Permissions Programmatically

As part of my series of blog posts on item level permissions, I thought I’d post a quick note on “resetting” item-level permissions on a list.

This can be done using the method SPListItem.ResetRoleInheritance() on the list item in question. This will reset any item level permissions on this item to inherit from the List in which the item resides.

This method is part of the SPSecurableObject class, which is inherited by Webs, Lists and Items – so anything where you can have unique permissions will inherit this class and expose methods to handle the unique permissions for that item.

Leave a Reply

Your email address will not be published. Required fields are marked *