Hi there, Ihave my ownuser database (SQL Server ) intoan existingintranet.Here I havevariousfunctionalitieswhich Iwant continue to useinUmbraco.Iwould likemyuser database(ownlogin)andalsousefurtherexampletheusers inaclassifiedadmarketnewads.How do I this?
The key here is to change the 'defaultProvider' to use your provider instead.
If you want to use your provider to access the Umbraco backend, you'll need to edit the 'umbracoSettings.config' located in the config folder and change the following:
<providers>
<users>
<!-- if you wish to use your own membershipprovider for authenticating to the umbraco back office -->
<!-- specify it here (remember to add it to the web.config as well) -->
How to implement Custom User Login and current available Code
Hi there,
I have my own user database (SQL Server ) into an existing intranet. Here I have various functionalities which I want continue to use in Umbraco .I would like my user database (own login) and also use further example the users in a classified ad market new ads. How do I this?
best Regards
Are you wanting to link into the Umbraco front-end or back-end?
For front-end or back-end, you'll need to do the following steps:
- Create your own Membership Provider (this link should help you here: http://msdn.microsoft.com/en-us/library/ms366730(v=vs.100).aspx)
- Edit webconfig to include your membership provider. Should look something like this:
<!-- Membership Provider -->
<membership defaultProvider="MyMembershipProvider" userIsOnlineTimeWindow="15">
<providers>
<clear />
<add name="UmbracoMembershipProvider" type="umbraco.providers.members.UmbracoMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="Another Type" passwordFormat="Hashed" />
<add name="MyMembershipProvider" type="MyLibrary.Providers.UsersMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" passwordFormat="Hashed" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordStrengthReqularExpression="^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,16}$" maxInvalidPasswordAttempts="3" passwordAttemptWindow="1" />
</providers>
</membership>
Hi Alan, thanks for your Reply. It is only for the Front End. The published Page.
Best Regards Axel
is working on a reply...