ProxySiteMapNode.IsAccessibleToUser Method (SPWeb)
Returns a value indicating whether or not 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 ProxySiteMapNode
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 context.
Return Value
Type: System.Boolean