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 389 posts 1362 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();

                          

  • 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