SPListItem.FirstUniqueAncestor Property
Returns the item itself if it has unique role assignments; otherwise, returns the first parent object (folder, list, or Web site) that has unique role assignments.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
Public ReadOnly Property FirstUniqueAncestor As ISecurableObject
Get
Dim instance As SPListItem
Dim value As ISecurableObject
value = instance.FirstUniqueAncestor
public ISecurableObject FirstUniqueAncestor { get; }
Property Value
Type: Microsoft.SharePoint.ISecurableObject
An ISecurableObject interface that exposes the role assignments of the list item's first unique ancestor that has unique permissions.
Implements
ISecurableObject.FirstUniqueAncestor