Are you sure that Jabber protocol provides a way to get the full list of online users from the server? Can you do it via a regular Jabber client on your server? Some servers do provide a special search service, but I've never seen a "full online user list" service.