CachedObjectSiteMapNode.IsAccessibleToUser method (SPWeb)

Sets a value indicating whether the specified site map node can be viewed by the user.

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 CachedObjectSiteMapNode
Dim contextWeb As SPWeb
Dim returnValue As Boolean

returnValue = instance.IsAccessibleToUser(contextWeb)
public override bool IsAccessibleToUser(
    SPWeb contextWeb
)

Parameters

Return value

Type: System.Boolean
true if the CachedObjectSiteMapNode object is accessible to the user; otherwise, false.

See also

Reference

CachedObjectSiteMapNode class

CachedObjectSiteMapNode members

IsAccessibleToUser overload

Microsoft.SharePoint.Publishing.Navigation namespace

IsAccessibleToUser