Export (0) Print
Expand All

SPList.BreakRoleInheritance method (Boolean, Boolean)

Creates unique role assignments for the list from the parent, optionally copies roles assignments from the parent, and optionally clears unique role assignments from descendants.

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

public override void BreakRoleInheritance(
	bool copyRoleAssignments,
	bool clearSubscopes


Type: System.Boolean

true if role assignments are copied from the parent object to this object; false if only the current user is assigned to security roles.

Type: System.Boolean

true if unique permissions are cleared from child objects and they can inherit role assignments from this object; false if unique role assignments defined on child objects are left in place.

© 2014 Microsoft