There's Membership.GetNumberOfUsersOnline, but oddly enough there's no Membership.UsersOnline.
Unfortunately you'll have to break encapsulation and do a select against
the tables that are storing this information. Those will vary depending upon
the membership provider.
You could also do as Juan suggests and maintain this information yourself
in your own database. Personally, I'd opt for this approach.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.