[JDEV] How to find whether a user is offline from user.xml fi le
DJ Adams
dj.adams at pobox.com
Tue Oct 16 13:48:56 CDT 2001
On Tue, Oct 16, 2001 at 01:08:28PM -0500, Peter Saint-Andre wrote:
> To see everyone who is online, I think you can send (as an admin user) the
> following xml:
>
> <iq type="get" to="yourhostname">
> <query xmlns="jabber:iq:admin">
> <who/>
> </query>
> </iq>
>
You can also do it like this:
<iq type='get' to='yourhostname/admin'>
<query xmlns='jabber:iq:browse'/>
</iq>
(hmmm, I reckon this is becoming a FAQ ..)
dj
More information about the JDev
mailing list