Click here to Skip to main content
14,836,552 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
check user on login time then on role based disable child menu item

1 solution

I answered this yesterday itself, see here[^]:
You can bind the menu items to a site-map and use the roles attribute in it for authorization.
Here this should help: MSDN: Walkthrough: Filtering Site-Map Nodes Based on Security Roles[^]
kailash02 28-Jul-12 23:35pm
but i have user name and password in database if user name and password is correct then it check the user type(user/admin) if it's user then disable menu or child menu item. admin has full access.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900