Share via


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)

Syntax

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.

See also

Reference

SPListItem class

SPListItem members

Microsoft.SharePoint namespace