I have browsed various topics on this but none give a definative example of how to implement it. The scenario is as follows:
I have a standard mySQL db powered instance of Umbraco 4.7 working correctly, and now I wish the site memberships to be driven by an external standard ASP.NET membership database where I already have my users stored.
Can someone assist me with the config changes that need to be made to the out of the box Umbraco installation web config file in order to do this. I will post the web.config so everyone can see the starting point.
ASP.NET Membership Integration with Umbraco
I have browsed various topics on this but none give a definative example of how to implement it. The scenario is as follows:
I have a standard mySQL db powered instance of Umbraco 4.7 working correctly, and now I wish the site memberships to be driven by an external standard ASP.NET membership database where I already have my users stored.
Can someone assist me with the config changes that need to be made to the out of the box Umbraco installation web config file in order to do this. I will post the web.config so everyone can see the starting point.
Hello,
You'll need to do something like described here: http://stackoverflow.com/questions/2038993/asp-net-membership-role-providers-for-mysql
That references MVC, but I think it's basically the same for web forms.
If you want to read up more, ScottGu gathered a ton of useful (.net2) stuff here: http://weblogs.asp.net/scottgu/archive/2006/02/24/ASP.NET-2.0-Membership_2C00_-Roles_2C00_-Forms-Authentication_2C00_-and-Security-Resources-.aspx
Add the membership to the web.config and reference the new source as the defaultProvider.
Thanks for the help guys, it was as easy as adding a new connection string as follows:
Then changing the membership and role provider to point to this as follows, commenting out the UmbracoMembership Provider:
....and hey presto I can now manage my site members in the membership tab in the Umbraco admin.
is working on a reply...