Copied to clipboard

Flag this post as spam?

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


  • Hundebol 167 posts 314 karma points
    Oct 28, 2014 @ 15:35
    Hundebol
    0

    Let members change password and login name in frontend

    Hi Umbracians,

    I need to let members change password and login name in frontend. But I have no clue how to do it in Umbraco 7.

    I tried the "Edit profile" partial view macro file, but that only lets members change Name and Email. And I can't seem to get password and login name to work.

    So, does anybody know how to also change password and login name - hopefully by editing the "Edit profile" macro, but any way would be a great help.

    best regards

  • Jan Skovgaard 11242 posts 23390 karma points MVP 6x admin c-trib
    Oct 28, 2014 @ 17:19
    Jan Skovgaard
    0

    Hi Hundebol

    Have you had a look at the membership API in the documentation? I know it's been marked with 6+ but don't be fooled by the "6". As the + indicates it's for version 6 and higher :)

    Have a look here http://our.umbraco.org/documentation/Reference/Management-v6/Services/MemberService

    At the bottom it seems there is a method for overriding the password.

    Hope this helps.

    /Jan

  • Hundebol 167 posts 314 karma points
    Oct 29, 2014 @ 11:55
    Hundebol
    0

    Hi Jan,

    Thanks for your answer. i have had at look at it but - I'm not that great a Razor developer just yet, so was wondering if anybody had a code snippet lying around for something similar.it's probably not that hard to do i guess. 

    But it puzzles me that, there is no getcurrent member method?!

    Any help here is appreciated :)

Please Sign in or register to post replies

Write your reply to:

Draft