Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SPSecurableObject.ResetRoleInheritance method

When implemented in a derived class, removes local role assignments so that role assignments, in all descendant objects, are re-inherited from the parent object.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Public Overridable Sub ResetRoleInheritance
Dim instance As SPSecurableObject




All descendant objects of the object on which this method is run will also now inherit from this object's parent, not just the immediate children objects.

We recommend that you carefully test code that uses this method to see the effect it has on descendant objects.

This method does nothing if the HasUniqueRoleAssignments property is false.

For more information about permission inheritance, see Fine-grained permission reference for SharePoint Server 2013.

© 2015 Microsoft