SPListItem.FirstUniqueAncestorSecurableObject Property

Retrieves the first unique ancestor 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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public override SPSecurableObject FirstUniqueAncestorSecurableObject { get; }

Property Value

Type: Microsoft.SharePoint.SPSecurableObject
A SPSecurableObject that represents the first unique ancestor of this [Microsoft.SharePoint.SPListItem] object.
Show: