SPListItem.HasUniqueRoleAssignments Property
Gets a Boolean value that specifies whether the item has unique security or inherits its role assignments from a parent object.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallablePropertyAttribute(ExcludeFromDefaultRetrieve := True)> _
Public Overrides ReadOnly Property HasUniqueRoleAssignments As Boolean
Get
'Usage
Dim instance As SPListItem
Dim value As Boolean
value = instance.HasUniqueRoleAssignments
[ClientCallablePropertyAttribute(ExcludeFromDefaultRetrieve = true)]
public override bool HasUniqueRoleAssignments { get; }
Property Value
Type: System.Boolean
true if the list item has unique security; otherwise, false.
Implements
ISecurableObject.HasUniqueRoleAssignments
Remarks
To change the value of the HasUniqueRoleAssignments property, you must call either the BreakRoleInheritance(Boolean) method or the ResetRoleInheritance method.