PortalSiteMapNode.IsAccessibleToUser Method (SPWeb)
Sets the visibility status of the PortalSiteMapNode object.
Namespace: Microsoft.SharePoint.Publishing.Navigation
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Overridable Function IsAccessibleToUser ( _
contextWeb As SPWeb _
) As Boolean
'Usage
Dim instance As PortalSiteMapNode
Dim contextWeb As SPWeb
Dim returnValue As Boolean
returnValue = instance.IsAccessibleToUser(contextWeb)
public virtual bool IsAccessibleToUser(
SPWeb contextWeb
)
Parameters
contextWeb
Type: Microsoft.SharePoint.SPWebAn SPWeb object that represents the current context.
Return Value
Type: System.Boolean