How to make the Membership calss access my own database?

Last post 07-04-2009 3:22 AM by anas. 1 replies.

Sort Posts:

  • How to make the Membership calss access my own database?

    07-04-2009, 12:18 AM

    Hi, The membership class provides teh routine to validate the user "ValidateUser(user, pwd)" that validates user without any adimition code. However, in order to use this fucntion, i have to user the ASPNETDB.MDF database and it's table "aspnet_Users" table. But i havea seperate database that i have designed for the project. in it there is a entity that store login information. Therefore i needot validate all logins againts that table. However, i want to use the fucntions of teh membership class to validate users. tO acheive this i need to map the Membership class to my database than ASPNETDB.MDF. Is it possible to make the Membership class validate user in my Database than "ASPNETDB.MDF"? I found that, there are some usefull tables stored in teh ASPNETDB.MDF Appications, Membership, Paths....etc. Is it possible to confonfigure ASP to store all those information in my database than ASPNETDB.MDF? cheers

  • Re: How to make the Membership calss access my own database?

    07-04-2009, 3:22 AM
    Answer
    • All-Star
      58,276 point All-Star
    • anas
    • Member since 09-21-2006, 4:31 AM
    • Palestinian Territory, Occupied
    • Posts 6,667
    • Moderator

    rickymartin211:
    Is it possible to confonfigure ASP to store all those information in my database than ASPNETDB.MDF? cheers

    This can be done by the aspnet_regsql tool. check this link for more information.

    Regards,

    Anas Ghanem | Blog

Page 1 of 1 (2 items)