Copied to clipboard

Flag this post as spam?

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


  • Darryl Godden 145 posts 197 karma points
    Mar 08, 2011 @ 10:07
    Darryl Godden
    0

    Members & Last Log-in

    Hi all,

    Is there anyway to retrieve when a member last logged in and the time and date of that login? I thought it was inherent in the .NET membership system, but I cannot find it.

    Thanks.

  • Michael Latouche 504 posts 819 karma points MVP 4x c-trib
    Mar 08, 2011 @ 10:43
    Michael Latouche
    2

    Hi Darryl,

    You have to create custom properties on your Member Type that you link to the membership provider settings in the web.config file.

    See this wiki post for more information: http://our.umbraco.org/wiki/how-tos/membership-providers/umbracomembershipprovider-properties

    Cheers,

    Michael.

  • Darryl Godden 145 posts 197 karma points
    Mar 08, 2011 @ 11:34
    Darryl Godden
    0

    Hi Mike,

     

    Thanks for the invite, any idea where I can access those values now?

     

    Regards,

     

    Darryl

  • Darryl Godden 145 posts 197 karma points
    Mar 08, 2011 @ 11:36
    Darryl Godden
    0

    Never mind - show on profile ;)

    Thanks again!

  • Michael Latouche 504 posts 819 karma points MVP 4x c-trib
    Mar 08, 2011 @ 11:39
    Michael Latouche
    0

    Hi Darryl,

    I'm glad it solved your problem :-)

    It shows indeed on profile, and you can also access it programmatically by using the default Asp.net Member properties.

    Cheers,

    Michael.

Please Sign in or register to post replies

Write your reply to:

Draft