This documentation is archived and is not being maintained.

SPListItem.BreakRoleInheritance Method

Windows SharePoint Services 3

Creates unique role assignments for the item rather than inheriting them from a parent.

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

public void BreakRoleInheritance(
	bool CopyRoleAssignments
)

Parameters

CopyRoleAssignments
Type: System.Boolean
true to break role inheritance but to copy the role assignments; otherwise, false.

Implements

ISecurableObject.BreakRoleInheritance(Boolean)
Show: