Use role manager in asp.net sitemap file

1. add   <roleManager enabled="true"/> to system.web section of your config file

2. add roles="*"  to each sitemapnode , you may specify different roles such as roles = "admin" etc

  example:

   <siteMapNode url="/" title=""  description=""  roles="*">

 

have fun :D

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: beggerking
Posted on: 10/27/2008 at 7:15 PM
Categories: Technical
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (22) | Post RSSRSS comment feed

Comments

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading