Compartilhar via


SPSecurableObject.FirstUniqueAncestorSecurableObject Property

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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