Click here to Skip to main content
12,452,344 members (54,885 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# ASP.NET SQL-Server
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 17-Oct-12 0:04am
Updated 17-Oct-12 0:10am
Wes Aday104.2K
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

Hi Buddy,

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

Click hear[^]
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

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.
  Permalink  
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160826.1 | Last Updated 17 Oct 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100