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

Syntax

'Declaration
Public Overrides ReadOnly Property FirstUniqueAncestorSecurableObject As SPSecurableObject
    Get
'Usage
Dim instance As SPListItem
Dim value As SPSecurableObject

value = instance.FirstUniqueAncestorSecurableObject
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.

See Also

Reference

SPListItem Class

SPListItem Members

Microsoft.SharePoint Namespace