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)
- 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.