Copied to clipboard

Flag this post as spam?

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


  • MK 429 posts 906 karma points
    Dec 05, 2013 @ 14:48
    MK
    0

    Get all logged in members

    Hi there,

    Is there a quick and easy way to get all logged in members in 6.1.6?

    Cheers

    Moshe

  • Marcio Goularte 388 posts 1360 karma points
    Dec 05, 2013 @ 15:57
    Marcio Goularte
    0

    Hi,

    Use the method GetAllUsers of Membership and check which are online. Something like this:

    var onlineusers =  Membership.GetAllUsers().Where(x=> x.IsOnline).ToList();

                          

Please Sign in or register to post replies

Write your reply to:

Draft