p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 (http://p2p.wrox.com/forumdisplay.php?f=264)
-   -   Web.Sitemap (http://p2p.wrox.com/showthread.php?t=45543)

Tremmorkeep July 21st, 2006 05:07 PM

Web.Sitemap
 
So, I'm sorry to seem thick, I'm really trying to understand how this works...but I defined 2 roles in my db. 'Administrators', and 'Users'. I put the attribute: roles="Users" on one siteMapNode and: roles="Administrators" on another...and yet even as an anonymous user I can see both items...what is it that I've missed?

Imar July 21st, 2006 05:32 PM

Hi there,

Take a look here: http://p2p.wrox.com/topic.asp?TOPIC_ID=47140

You need to set securityTrimmingEnabled in the web.config file....

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004


All times are GMT -4. The time now is 07:53 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.