Copied to clipboard

Flag this post as spam?

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


  • CodeMaster2008 151 posts 184 karma points
    Jun 17, 2010 @ 21:16
    CodeMaster2008
    0

    Get the member's id

    While trying to create a control tha twill allow the user to reset his password (kind of the "Forgot your password?" thing), I found this method on the api:

    umbraco.library:GetMember(Int 32 MemberId) 

    The problem is, I'm asking the user for his email, how do i get his id?

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Jun 17, 2010 @ 21:21
    Peter Dijksterhuis
    0

    Hi,

    I guess you could use GetMemberFromEmail(string email) for this.

    HTH,

    Peter

  • CodeMaster2008 151 posts 184 karma points
    Jun 17, 2010 @ 21:31
    CodeMaster2008
    0

    That will work :-)
    Tanks a lot

Please Sign in or register to post replies

Write your reply to:

Draft