Copied to clipboard

Flag this post as spam?

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


  • Alex Perotti 53 posts 94 karma points
    Jun 30, 2013 @ 17:18
    Alex Perotti
    0

    Membership: Member node id

    I'm wondering how to get member node id.

    I need to programatically update the value of a member picker, but the only way I've found to recover the node id of a member is marked as obsolete (umbraco 4.11.x)

    Any idea? Thank you

    var user = umbraco.cms.businesslogic.member.Member.GetMemberByName(username, false)[0].Id;

  • Andy Butland 422 posts 2334 karma points MVP 4x hq c-trib
    Jun 30, 2013 @ 19:39
    Andy Butland
    0

    I believe if that works you are OK to go with it.  It certainly wouldn't be removed in any 4.X upgrade you do even if marked as obsolete, and am fairly sure for version 6 there's not been a new members API, hence the method would still be working with that version too.

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Jul 01, 2013 @ 12:38
    Jeroen Breuer
    0
  • Alex Perotti 53 posts 94 karma points
    Jul 02, 2013 @ 01:24
    Alex Perotti
    0

    Ok, so I will stick with my code :)

    thank you 

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Jul 02, 2013 @ 13:56
    Jeroen Breuer
    0

    Please mark a post as the solution if it helped you :-).

  • 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