SPSecurableObject.BreakRoleInheritance method (Boolean)
Creates unique role assignments for the object and optionally copies role assignments from the parent.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration Public Overridable Sub BreakRoleInheritance ( _ copyRoleAssignments As Boolean _ ) 'Usage Dim instance As SPSecurableObject Dim copyRoleAssignments As Boolean instance.BreakRoleInheritance(copyRoleAssignments)
public virtual void BreakRoleInheritance( bool copyRoleAssignments )
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.