Hi there,
While I was using web.sitemap the security Trimming on my menu was working fine. Now that I have switched to a Sql Site Map Provider, the security trimming just stopped working.
<siteMap enabled="true" defaultProvider="AspNetSqlSiteMapProvider">
<providers>
<add name="AspNetSqlSiteMapProvider" type="SqlSiteMapProvider" securityTrimmingEnabled="true" connectionStringName="SiteMapConnectionString" sqlCacheDependency="SiteMapDatabase:SiteMap"/>
</providers>
</siteMap>
I have had to edit the proc_GetSiteMap to return my menu items in the correct sort order, but it returns all the relevant data from the sitemap table (including the roles).
Any help would be apreciated.