Copied to clipboard

Flag this post as spam?

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


  • IceCoder1991 1 post 21 karma points
    4 days ago
    IceCoder1991
    0

    How do we change a member password thru the API

    Is there anyone that knows how we could change a member password from the API?

  • Alex Skrypnyk 5503 posts 20672 karma points MVP 3x admin c-trib
    3 days ago
    Alex Skrypnyk
    0

    Hi IceCoder

    What did you mean by API? Do you want to call some api to change the password?

    You can use MemberService to change member passwords.

    var memberService = Services.MemberService;
            var member = memberService.GetById(AppHelper.GetCurrentUserId());
            memberService.SavePassword(member, "password");
    

    Thanks,

    Alex

Please Sign in or register to post replies

Write your reply to:

Draft