SqlSiteMapProvider with securitytrimming

R

rote

I'm using the sqlsitemapprovider class from here:

http://msdn.microsoft.com/en-us/magazine/cc163787.aspx

and in my webconfig file i have the below:

My treeview can read data from the table and its all good but i want to
enable securitytrimming using the groups from active Directory

but it doesn't work

any ideas!!

<siteMap defaultProvider="SqlSiteMapProvider" enabled="true">

<providers>

<add name="SqlSiteMapProvider" type="SqlSiteMapProvider"

securityTrimmingEnabled="true"

connectionStringName="SiteMapConnectionString" />

<!--

<add name="XmlSiteMapProvider" type="System.Web.XmlSiteMapProvider"
siteMapFile="web.SiteMap" securityTrimmingEnabled="true" />

-->

</providers>

</siteMap>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top