PortalSiteMapProvider.FindSiteMapNode method (String, SPWeb)

Returns the PortalSiteMapNode for the given URL.

Namespace:  Microsoft.SharePoint.Publishing.Navigation
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public SiteMapNode FindSiteMapNode(
	string rawUrl,
	SPWeb currentContext
)

Parameters

rawUrl
Type: System.String

A string that contains the URL of the requested node.

currentContext
Type: Microsoft.SharePoint.SPWeb

An SPWeb object that represents the context of the current user for rights checking.

Return value

Type: System.Web.SiteMapNode
Show: