Copied to clipboard

Flag this post as spam?

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


  • Anton Gildebrand 49 posts 149 karma points c-trib
    Jun 16, 2013 @ 16:26
    Anton Gildebrand
    0

    Get name of current member

    How can i get the name of the currently logged in member?

    I have two types of members, Regular and Facebook. For the Facebook-members i can fetch the name using

    (string)m.getProperty("name").Value;

    But for reqular member types, this throws an error.

  • Charles Afford 1163 posts 1709 karma points
    Jun 16, 2013 @ 19:02
    Charles Afford
    0

    Hi, what version of umbraco are you using?  You need to create a profile base and a few other things.  Please take a look at:

    http://www.charlesafford.com/umbraco-membership-provider.aspx

    I wrote a piece on how to do this :).

    Charlie

Please Sign in or register to post replies

Write your reply to:

Draft