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 22 karma points
    Feb 13, 2020 @ 09:47
    IceCoder1991
    1

    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 6182 posts 24283 karma points MVP 8x admin c-trib
    Feb 13, 2020 @ 23:29
    Alex Skrypnyk
    1

    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

  • 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