Hello Cameron,
As you know, from the code you can use self.online_user to get all the user details, but based on how you phrased the question I assume you are wanting to know the data outside of the SDK code. Q2 can provide that data given a login name. You could do it via api call using the Caliper Api, or you can just ask for it via ticket on the developer portal: https://q2developer.com/support/create
Hopefully this helps,
-Trey