Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Robert 27 posts 226 karma points
    Jan 16, 2014 @ 17:45
    Robert
    0

    Custom MembershipProvider and Member Types

    Hi, 

    I´ve been banging my head for a while regarding custom membership provider and member type with custom properties. 

    My membership provider gets called and i can login, i also got an custom role provider which are working fine as well. 

    The problem is when i login to the backend and click Member, i only have "Members" and "Roles", the "Member Types" are missing. 

    However, if i remove the config, in web.config, for my custom membership provider to use the standard "umbraco.providers.members.UmbracoMembershipProvider" the menu choice for "Member Types" are shown. 

    public class PdbMembershipProvider : MembershipProvider
    public class PdbRoleProvider : RoleProvider
    public class PdbMember : MembershipUser

    Is there a way of using a custom membership provider and a member type with extra properties? 

    Best regards

    Robert

  • Robert 27 posts 226 karma points
    Jan 17, 2014 @ 09:07
    Robert
    100

    After som digging i´ve found that currently this is not supported.

    // only show member types if we're using umbraco members on the website
    
    if (Member.InUmbracoMemberMode())
    

    And

    case MembershipScenario.StandaloneCustomProvider:
    
    //TODO: Support this scenario!
    

    So no luck right now.

Please Sign in or register to post replies

Write your reply to:

Draft