You need to sign in to do that
Don't have an account?
Science Logic
count logged-in users
I need to use SOQL or the API to get a count of users that are currently logged in. How can I do this?
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Give a try pasting this in Eclipse. Remove duplicates. Should give you the number of users who have logged in today . But not who are actively logged in currenty
Visit this https://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_loginhistory.htm for more detail in LoginHistory