I have used the asp.net menu control to add in a menu to my website.
It has a sitemap attached to it.
I want to hide some of the menu items when certain users are logged in.
I have seen a way to do this via the site-map security trimming feature in the web.config file.
However, I want to know if there is an alternative way to do this using C#.
Does anyone have any suggestions as to how I can go about this.
View Complete Post