Click here to Skip to main content
15,903,030 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi all,
i just want provide access to the pages in my application created by asp.net to the users who are logined in to my site based on the users levels which have created in level column in db. but there are 6 to 10 level types[like admin, user, visitor, manager,assistant,clerk,recruiter,teamhead etc] present in db column. normally this comes under member ship concept, i have searched many sites to perform member ship operation in asp.net but i didn't get proper info regarding this, please provide me a link of the site which display clear and clarity info on member ship roles using sql server from asp.net application.
Posted
Updated 3-Dec-14 20:10pm
v2

1 solution

Solution 1:
In your Master page check the user level and you can dynamically create menu depend on users logged in.
Solution 2:
You can store all menu link details with menu id in your db.
Create another table store menu id and user level id.
In master page depend on user login add menu to master page.
Solution3:
Create master page for each user level and add all menu design to the master pages. In logging click check for the user level and redirect to appropriate page.
 
Share this answer
 

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