Roles is not working when in XML menu file
Visual Studio
1
Posts
1
Posters
0
Views
1
Watching
-
Using Visual Studio 2005, .Net 2.0 I did the following:- Enables roles> in web.config, the following appeared> this is my authentication part: I then created 4 roles: Consultant, Team Leader, Project Leader, Administrator. and assigned each user one or more roles. When I check within code, user.isinrole("Adminstrator") = this works fine. I have a custom sitemap files, in web.config:- In "MainMenu.sitemap" I assigned roles, here is a snippet: but, all uses still see this menu item despite having the roles parameter. Any help would be appreciated.