SPWeb.FirstUniqueAncestor Property
Gets the first ancestor Web site with unique permissions and where the access control list (ACL) for the current site is defined.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
Public ReadOnly Property FirstUniqueAncestor As ISecurableObject
Get
Dim instance As SPWeb
Dim value As ISecurableObject
value = instance.FirstUniqueAncestor
public ISecurableObject FirstUniqueAncestor { get; }
Property Value
Type: Microsoft.SharePoint.ISecurableObject
An ISecurableObject interface that represents the first unique ancestor Web site.
Implements
ISecurableObject.FirstUniqueAncestor
Remarks
For a Web site with unique permissions, the first unique ancestor is the current site itself. For a Web site that inherits permissions, the first unique ancestor is one of the parent Web sites of the current site.