Select l.UserId, l.Status, l.SourceIp, l.Platform, l.LoginUrl, l.LoginType, l.LoginTime, l.Id, l.ClientVersion, l.Browser, l.Application, l.ApiVersion, l.ApiType From LoginHistory l
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
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