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