Search code examples
asp.netorchardcms

ASP.NET app users registration in orchard database


My orchard database with 80 tables are integrated to my existing ASP.NET applications database(having 5 tables).After integrating orchard to my database totally 85 tables are there in my orchard database. Now I want the users in ASP app database also should be login in through my orchard app. can any one suggest how its possible. Its my client requirement.


Solution

  • You have two ways to solve this issue:

    1. If you want to use Orchard.Users module as is, you must migrate your data to Orchard_Users table.
    2. If you want to use ASP.Net App users table as is, you must suppress the default implementation of "IMembershipService" to do the CRUD operation on the app users table (you can find the default implantation of "IMembershipService" within Orchard.Users module).