Click here to Skip to main content
15,893,487 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,

I am a developing a website for e-commerce. I want to for fix the admin panel accessing according to employee designation. For example, i want to provide the all facility for admin with crating a role and responsibility, for manager managing product, For other employee only upload the product. For this i am a creating a single master page for Product catalog. Any one guide me how we can developed this things.
Posted
Updated 17-Oct-12 0:10am
v2

What you are asking about is how to use role and membership to secure a portion of a site. Have a look here[^] to get an understanding of how to use role management.

The keywords you look for on Google are RoleProvider and MembershipProvider.
 
Share this answer
 
Hi Buddy,

Use membership , visit on this below mentioned link. May be help full.

Click hear[^]
 
Share this answer
 
To Implement this you need to create user , permission and role tables so that each role is assigned to that user based on permission. User will have details of all users and there will be another table UserRole which will have role assigned to each user. apart from this you need to have User permission table Also.
 
Share this answer
 
Comments
Sumit_Kumar_Sinha 17-Oct-12 6:22am    
Mukesh_Chauhan, according you i developed the all the table...but now problem is that, suppose we use the 20 menu for admin panel and i want to for manger it's display only 15 menu.....and different employee for different so on.........how we can do it

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