This topic has not yet been rated - Rate this topic

SPSecurableObject.ResetRoleInheritance Method

SharePoint 2010

Removes local role assignments and inherits role assignments from the parent object.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
[ClientCallableExceptionConstraintAttribute(FixedId = "1", Condition = "There are uncommited changes for the Site object and this method is called.", 
	ErrorType = typeof(InvalidOperationException))]
[ClientCallableAttribute]
public virtual void ResetRoleInheritance()

Implements

ISecurableObject.ResetRoleInheritance()

This method does nothing if the HasUniqueRoleAssignments property is false.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ