Copied to clipboard

Flag this post as spam?

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


  • Christian W. Larsen 27 posts 49 karma points
    Jul 15, 2009 @ 10:29
    Christian W. Larsen
    0

    Getting member name

    How do I get the name of af member (not the current member) by its id.

    I can get the loginname like this - but what about the real name?

    Member m = new Member(nodeId);
    return m.LoginName;

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jul 15, 2009 @ 10:34
    Dirk De Grave
    1
    m.Text;
  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Jul 15, 2009 @ 10:34
    Jeroen Breuer
    1

    The membername is m.Text.

  • Timsn 121 posts 231 karma points
    Jul 15, 2009 @ 10:35
    Timsn
    1

    If your real name is stored in a property of the member you can get it like this

    m.getProperty("realname").Value

    Look at this page for more information about working with members api

Please Sign in or register to post replies

Write your reply to:

Draft