A way to get all online users

Is there any way to get from the server a list of all online users?

Thanks

You can use Roster.getRoster to obtain a list of your current contacts. There is no way though to get a list of all users of a Jabber server(at least as far as I know)

imo this would violate the very nature of subscribing to someones presence and them permitting you to view their online status.

If you mean something like a global address book of the like that Hotmail and Yahoo provide then I have a feeling you would need to talk to the Jabber server admin.

I could be completley wrong though so if anybody else has a better idea please step forward.

Jon