Dynamic Load of user menu vb-asp.net

peromekrol

New Member
1st time posting great site here.Hoping someone can advise me on something. I do a bit of work on a small web application that was built with vb/asp.netBut I now need to look at a re-design of the menu and access per user.The application currently uses a web sitemap and treeview/bread crumbs for the menuThere are different users that log in; depending on the role they have in the db they may or may not have access to certain options on the menu.When the user logs in they are presented with the full treeview menuIf the user clicks on a menu option they have no access to - they are directed to a page saying "no access permitted"What I need to do is only load the menu items (Parent & node items) a user has access toWhat would be the best way of handling this with vb/asp.net?I understand this "may" require a re-work of the db but I need to dynamically load the menu per roleanother option I considered was removing the sitemap and loading hyperlinks per user role, and style the links in a menu instead?Any ideas or suggestions would be greatly appreciatedThanks,Paul
 
Back
Top