Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets whether the user specified by the context has permission to access this node (or the object represented by this node).
Namespace: Microsoft.SharePoint.Publishing.Navigation
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Overrides Function IsAccessibleToUser ( _
contextWeb As SPWeb _
) As Boolean
'Usage
Dim instance As SPNavigationSiteMapNode
Dim contextWeb As SPWeb
Dim returnValue As Boolean
returnValue = instance.IsAccessibleToUser(contextWeb)
public override bool IsAccessibleToUser(
SPWeb contextWeb
)
Parameters
contextWeb
Type: Microsoft.SharePoint.SPWebAn SPWeb object that represents the current context.
Return Value
Type: System.Boolean
Remarks
The node will not be returned in child collections if this method returns false. This method emulates the security trimming performed on Microsoft SharePoint FoundationSPNavigationNode objects.