Implementing Login Functionality As Admin or User then menus should show or hide ?

Posted by Kasani007 under ASP.NET MVC on 8/9/2014 | Points: 10 | Views : 1650 | Status : [Member] | Replies : 3
If I have a Login Page and If i Login as Admin then it has to show the Menus- Home,About,Modify And If i login as Some other user then it has to show the menus Home and about only In MVC?




Responses

Posted by: Vuyiswamb on: 8/9/2014 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
you need to have a nice design from the Database level and control it from then. Check how i did it here


http://www.dotnetfunda.com/articles/show/1250/permission-module-or-security-module-in-aspnet-or-silverlight

Thank you for posting at Dotnetfunda
[Administrator]

Kasani007, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandi on: 8/11/2014 [Member] [MVP] Platinum | Points: 25

Up
0
Down
http://techbrij.com/role-based-menu-asp-net-mvc
http://stackoverflow.com/questions/11741247/is-it-possible-to-hide-a-menu-item-based-on-users-role-in-mvc-app-html-menu-li

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Kasani007, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Manimaddu on: 8/11/2014 [Member] Starter | Points: 25

Login to post response