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.BreakRoleInheritance method (Boolean)

Creates unique role assignments for the object and optionally copies role assignments from the parent.

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

public virtual void BreakRoleInheritance(
	bool copyRoleAssignments


Type: System.Boolean

true to copy role assignments from the parent object to this object; false to assign only the current user to security roles.



This method calls the BreakRoleInheritance(Boolean, Boolean) method with copyRoleAssignments and false to stop inheriting role assignments from its parent object and to create unique role assignments for the securable object.

© 2015 Microsoft