SPSecurableObject.FirstUniqueAncestorSecurableObject property

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

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

Syntax

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

value = instance.FirstUniqueAncestorSecurableObject
public abstract SPSecurableObject FirstUniqueAncestorSecurableObject { get; }

Property value

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

Remarks

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.

See also

Reference

SPSecurableObject class

SPSecurableObject members

Microsoft.SharePoint namespace

HasUniqueRoleAssignments