ASP.NET: Hide Menu Items by Role with Security Trimming
Thursday, February 4th, 2010
ASP.NET makes authorizations and security fairly simple with its roleManager, Authentication, and SiteMap providers. This quick hint only covers how to hide a particular menu item from the standard Menu and TreeList navigation components when using a SiteMap provider. (more…)
Popularity: 2%


With Microsoft’s
Notice that you have to declare your instance of the Random class outside of the GetRandomInt function if you are going to be running this in a loop. 
