Copied to clipboard

Flag this post as spam?

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


  • Siegfried Wynant 4 posts 25 karma points
    May 19, 2012 @ 23:24
    Siegfried Wynant
    0

    External custom members - local umbraco member type

    For my company I need to extend an Umbraco CMS v4.5.2 so some pages are only accessible to logged in members. The members are retrieved throu a custom membership provider.

    I have already created the provider and added it to web.config. Login is working.

    Now I want to use the 'public access' and the member group I've created in Umbraco. How do I make the link between my custom members and the role? There is only one role (member group), all members are part of this group/role.

    Should I create a custom role provider or profile provider? Which method do I override?

  • Siegfried Wynant 4 posts 25 karma points
    May 24, 2012 @ 14:32
    Siegfried Wynant
    0

    Ended up fixing this with the "quick & dirty" way.

    In my custom member provider I made the validation with the external db but in the getuser method I return a member that exists in the umbraco db. This way I can use the member/role system in Umbraco without big changes.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies