Answered by:
Few questions about simple membership

Question
-
User264732274 posted
i never use simple membership.
1) i like to know where simple membership create user and role specific tables ? does it create in local db in app_data folder ?
2) how to force simple membership to create or point to user and role specific tables in my database ?
3) when working with simple membership then how could i add more fields in user table and simple membership will fetch data for those fields too?
please discuss mu 3 points or include 3 different link for my 3 points.
Tuesday, September 20, 2016 6:58 PM
Answers
-
User-821857111 posted
1) i like to know where simple membership create user and role specific tables ? does it create in local db in app_data folder ?It creates the required tables in whichever database your connection string points to.
2) how to force simple membership to create or point to user and role specific tables in my database ?Just provide the name of the connection string to the websecurity.initializedatabaseconnection method.
3) when working with simple membership then how could i add more fields in user table and simple membership will fetch data for those fields too?You add the manually, and then include them in your SQL statements.- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, September 21, 2016 7:06 AM -
User36583972 posted
Hi sudip_inn,
The following links may help you better understand
Understanding and Using Simple Membership Provider in ASP.NET MVC 4.0:
http://www.codeproject.com/Articles/689801/Understanding-and-Using-Simple-Membership-Provider
SimpleMembership, Membership Providers, Universal Providers and the new ASP.NET 4.5 Web Forms and ASP.NET MVC 4 templates:
Best Regards,
Yohann Lu
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, September 21, 2016 7:30 AM
All replies
-
User-821857111 posted
1) i like to know where simple membership create user and role specific tables ? does it create in local db in app_data folder ?It creates the required tables in whichever database your connection string points to.
2) how to force simple membership to create or point to user and role specific tables in my database ?Just provide the name of the connection string to the websecurity.initializedatabaseconnection method.
3) when working with simple membership then how could i add more fields in user table and simple membership will fetch data for those fields too?You add the manually, and then include them in your SQL statements.- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, September 21, 2016 7:06 AM -
User36583972 posted
Hi sudip_inn,
The following links may help you better understand
Understanding and Using Simple Membership Provider in ASP.NET MVC 4.0:
http://www.codeproject.com/Articles/689801/Understanding-and-Using-Simple-Membership-Provider
SimpleMembership, Membership Providers, Universal Providers and the new ASP.NET 4.5 Web Forms and ASP.NET MVC 4 templates:
Best Regards,
Yohann Lu
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, September 21, 2016 7:30 AM -
User-821857111 posted
The following links may help you better understandNeither of those links are relevant to the SimpleMembershipProvider.Wednesday, September 21, 2016 10:01 AM -
User36583972 posted
Hi Mike,
Thank you, Mike. Very grateful for your help.
Best Regards,
Yohann Lu
Wednesday, September 21, 2016 10:44 AM