This project is read-only.


A site map is an in-memory representation of the navigation structure for a site, which is provided by one or more site map providers. The Composite Web Application Block includes the custom site map data provider class ModuleSiteMapProvider. This class supports authorization rules that control whether a site map node can be viewed by the current user. This class uses the IAuthorizationService to implement the IsAccessibleToUser method.
To use this custom provider, you must add an entry to the Web site Web.config file, as shown in the following XML.

<siteMap defaultProvider="DefaultSiteMapProvider">
    <add name="DefaultSiteMapProvider" type="Microsoft.Practices.CompositeWeb.Providers.ModuleSiteMapProvider, Microsoft.Practices.CompositeWeb" securityTrimmingEnabled="true" />

Last edited Nov 20, 2007 at 1:26 PM by ejadib, version 1


No comments yet.