简体   繁体   中英

asp.net membership provider: Create user with different application name

I'm starting to use the membership provider. My first idea is to create 2 different mvc3 applications: one for the Web Site and the other to administer the first one. Each application has a different applicationName (WebSite and AdminWebSite).

I want to create Users of WebSite using the application AdminWebSite. Is it possible?

Yes, can specify multiple providers and reference them by provider name . Just make sure that the provider settings for WebSite in AdminWebSite are defined exactly the same way.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM