JSkimming / AspNet.Identity.EntityFramework.Multitenant

Multi-tenant support for ASP.NET Identity using Entity Framework
Apache License 2.0
132 stars 61 forks source link

register with a different tenant code #9

Closed shrenicshah closed 9 years ago

shrenicshah commented 9 years ago

Hi James,

Sorry to put this under an "issue" section. I couldnt find a way to contact you. I just needed some directions in knowing how do I register using a different tenant code

Kind Regards

Shrenik

JSkimming commented 9 years ago

@shrenicshah The solution comes with two example sites showing how to use the MultitenantUserStore.

You need to set the TenantId. In the example it's hard coded, but you need to determine how you distinguish tenants and set it on the MultitenantUserStore to allow it to work.