Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Server Technologies
SDK Documentation
SPListItem Class
SPListItem Methods
 BreakRoleInheritance Method
SPListItem.BreakRoleInheritance Method (Microsoft.SharePoint)
Creates unique role assignments for the item rather than inheriting them from a parent.

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

Visual Basic (Declaration)
Public Sub BreakRoleInheritance ( _
    CopyRoleAssignments As Boolean _
)
Visual Basic (Usage)
Dim instance As SPListItem
Dim CopyRoleAssignments As Boolean

instance.BreakRoleInheritance(CopyRoleAssignments)
C#
public void BreakRoleInheritance (
    bool CopyRoleAssignments
)

Parameters

CopyRoleAssignments

true to break role inheritance but to copy the role assignments; otherwise, false.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker