0

I am using visual studio 2008 to develop the web application. but I am not using the login controls in asp.net for logging in of users.I created my own new user registration aspx page and login page.i have my own sql database.logged in user details are now successfully entered into the database.

forgot password and change password also , i wrote code myself without using its controls.

but authentication is windows.

I want to make it form authentication and validate the users using membership provider .I also want to assign two roles-administrator and user.

But i don't have any idea how can i do it.
please anyone help me to create my own membership provider and how to assign roles

4
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by aspproject
0

Can't you just make a Roles table and have user and administrator in that table and use the RoleID as a FK in the Users table? Membership provider not understanding or missing the idea?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.