This documentation is archived and is not being maintained.

SPListItem.FirstUniqueAncestor Property

Windows SharePoint Services 3

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)

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.