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

    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 6043 posts 23023 karma points MVP 5x admin c-trib
    Feb 13, 2020 @ 23:29
    Alex Skrypnyk

    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");



Please Sign in or register to post replies

Write your reply to: