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 122 posts 506 karma points
    Feb 08, 2019 @ 16:38
    Tom Bruce
    0

    Unlock a Member

    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 508 karma points
    Feb 11, 2019 @ 15:28
    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 122 posts 506 karma points
    Feb 11, 2019 @ 15:31
    Tom Bruce
    0

    Hi Craig, I need to unlock member by code.

    Tom

  • 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