SecurableObject.FirstUniqueAncestorSecurableObject property

SharePoint Online

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

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

public SecurableObject FirstUniqueAncestorSecurableObject { get; }

Property value

Type: Microsoft.SharePoint.Client.SecurableObject
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.