How to combine using Membership API with own application related data?

后端 未结 2 1546
时光说笑
时光说笑 2020-11-29 08:48

Designing a new application in asp.net 4 I have to make a decision how to use a MS SQL Membership API along with my own data in the MS SQL data base. Firstly I need to store

2条回答
  •  遥遥无期
    2020-11-29 09:37

    You should consider writing your own custom membership provider that uses the tables/data as per your need (instead of using ASP.NET provided schema).

    See this MSDn sample (schema, code) for writing a custom provider - this sample uses OLEDB to access database. Yet another sample is here - it uses active directory as a store.

提交回复
热议问题