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
contextWeb
Type: Microsoft.SharePoint.SPWebAn SPWeb object representing the current HTTP context.
Return Value
Type: System.Boolean
true if the CachedObjectSiteMapNode object is accessible to the user; otherwise, false.
See Also
Reference
CachedObjectSiteMapNode Members