Breaks the role assignment inheritance for the list and gives the current list its own copy of the role assignments.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)

Syntax
Visual Basic (Declaration) |
Public Sub BreakRoleInheritance ( _
CopyRoleAssignments As Boolean _
)
|
|
Dim instance As SPList
Dim CopyRoleAssignments As Boolean
instance.BreakRoleInheritance(CopyRoleAssignments)
|
|
public void BreakRoleInheritance (
bool CopyRoleAssignments
)
|
Parameters
- CopyRoleAssignments
-
true to copy the role assignments of the parent Web site when breaking inheritance; false to add the current user to the permission level that is required to manage the list.

See Also