SPSecurableObject.FirstUniqueAncestorSecurableObject property

Gets the object where role assignments for this object are defined.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public abstract SPSecurableObject FirstUniqueAncestorSecurableObject { get; }

Property value

Type: Microsoft.SharePoint.SPSecurableObject
The object where role assignments are defined.

If role assignments are defined directly on the current object, the FirstUniqueAncestorSecurableObject property returns the current object. Otherwise, the property returns the object from which role assignments are inherited.