Click here to Skip to main content
15,896,474 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have three tables

table users

username password, and userid

groups

groupid, name


roles
rolesid , groupid


now i want to make a administration page. so i can assign roles to users. any idea on this.. any artical on this..

more over when the user fills the registration form it is autmatically assigned user role.. how to do this.??
Posted

Before creating from scratch, please look how to create and manage Asp.NET users using Asp.NET Membership[^] authentication.

Here is a detail article. How To: Use Membership in ASP.NET 2.0[^]
 
Share this answer
 
Comments
codegeekalpha 14-Aug-11 11:55am    
i am not using asp.net buildin controls.
Wonde Tadesse 6-Dec-11 11:17am    
Thanks
thatraja 14-Aug-11 13:35pm    
Right, 5!
Wonde Tadesse 14-Aug-11 21:40pm    
Thank you thatraja!
Read this bunch, it has many things(18 parts)

Examining ASP.NET's Membership, Roles, and Profile[^]
 
Share this answer
 
Comments
Wonde Tadesse 14-Aug-11 21:38pm    
5+
hm. Membership & Roles

Checkout this Link :
http://wiki.asp.net/page.aspx/39/membership-and-roles/[^]

This link will definitely troubleshoot your problem. Best of Luck..!
 
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