V4 SQL Membership Options
bigdavelamb
Posted: Tuesday, October 21, 2008 4:11:39 PM
Rank: Newbie

Joined: 10/13/2008
Posts: 16
Location: UK
Hi

I cannot for the life of me seem to get sqlmembership working, it keeps using the standard Umbraco membership provider when my user logs in. Can someone please give me an example? I think my web.config is not correct, if someone could provide a web.config complete that would be great as I am stuck...

Cheers.
dave
Burla
Posted: Tuesday, October 21, 2008 9:46:22 PM
Rank: Devotee

Joined: 5/2/2008
Posts: 53
Location: Herning, Denmark
We have programmed a custom membership and role provider for a umbraco v4 site:
Here is what is in our web.config

Code:
<membership defaultProvider="NineToFiveMembershipProvider" userIsOnlineTimeWindow="15">
      <providers>
        <clear/>
        <add name="NineToFiveMembershipProvider"
                 type="NineToFive.Security.NineToFiveMembershipProvider"
                           enablePasswordRetrieval="false" enablePasswordReset="false"
                           requiresQuestionAndAnswer="false"/>
      </providers>
    </membership>

    <roleManager enabled="true" defaultProvider="NineToFiveRoleProvider">
      <providers>
        <clear/>
        <add name="NineToFiveRoleProvider" type="NineToFive.Security.NineToFiveRoleProvider"/>
      </providers>
    </roleManager>
bigdavelamb
Posted: Wednesday, October 22, 2008 8:33:04 PM
Rank: Newbie

Joined: 10/13/2008
Posts: 16
Location: UK
Hi Burla

Thanks for the post, I will give this a try when I am back in the office on Thursday....

dave
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.