Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Resets the role assignments of the list and all its descendant object to those of the list's parent object.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public Overrides Sub ResetRoleInheritance
'Usage
Dim instance As SPList
instance.ResetRoleInheritance()
public override void ResetRoleInheritance()
ISecurableObject.ResetRoleInheritance()
Exception | Condition |
---|---|
SPException | The list contains uncommitted changes. |
All descendant objects of the list on which this method is run will also now inherit from this list's parent, not just the immediate child 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.
Call Update() to commit any changes to the list before calling this method.
Please sign in to use this experience.
Sign in