SharePoint form-based authentication with custom database

Posted by Clodin on Stack Overflow See other posts from Stack Overflow or by Clodin
Published on 2010-05-17T09:57:08Z Indexed on 2010/05/17 10:00 UTC
Read the original article Hit count: 249

Filed under:
|

Hi,

I have SharePoint site and I want to use form-based authentication, not Windows how it is by default.

For this I read that I have to modify the web.config from Central Administration and web.config from my site with the membership and roleManager tags configured properly.

But if I use this:

<membership> <providers> <add name="MyProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" .../> </providers> </membership>

System.Web.Security.SqlMembershipProvider requires a database generated with ASP.NET SQL Server Setup Wizard (aspnet_regsql.exe), and this is my problem! I want to use another database with cunstom table 'Users' from where to take the username and password for authentication. How can I do this?

Thank you in advance

© Stack Overflow or respective owner

Related posts about sharepoint

Related posts about authentication