In the Cisco Unified IM and Presence Reporting console, it's easy to get a "presence usage count" of users who are logged on to Jabber, along with their IDs. We need to do this programmatically, whether through an axl soap api or via sql query on the Presence Server data tables. Does anybody know how this can be done?