Copied to clipboard

Flag this post as spam?

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


  • Tom Bruce 108 posts 452 karma points
    14 days ago
    Tom Bruce
    0

    Hi everyone, I’m trying to unlock a member, I was thinking something like this would be ok;

    MembershipUser currentUser = Membership.GetUser(model.Username.ToLower());
    
                        currentUser.UnlockUser();
    

    I’ve not tested it yet just wondering if there is a better way, any pointers much appreciated.

    Tom

  • Craig Mayers 164 posts 505 karma points
    1 week ago
    Craig Mayers
    0

    Hi Tom,

    Is it required that you unlock a Member in code?

    Or can you unlock them via the backend of the CMS?

    Thanks

    Craig

  • Tom Bruce 108 posts 452 karma points
    1 week ago
    Tom Bruce
    0

    Hi Craig, I need to unlock member by code.

    Tom

Please Sign in or register to post replies

Write your reply to:

Draft