Copied to clipboard

Flag this post as spam?

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


  • Ken Mark 82 posts 94 karma points
    May 12, 2011 @ 16:22
    Ken Mark
    0

    Custom Membership Provider and Public access

    Hi

    I have the users stored in another database and want to login using that database and also be able to use the "Public access" function in Umbraco.

    I have created a custom membership provider and I am able to login. But I have no idea how to verify if the user is in any group. I created a custom role provider but the methods don't get hit. The only thing that gets hit is the GetUser in my membership provider, which returns null.

    So how do I do this? Should I override the MemberShipUser class and then override the GetUser method? When is the Role provider used?

     

Please Sign in or register to post replies

Write your reply to:

Draft