[jdev] Enumerating all users' presence?
Talley, Brooks
brooks at frnk.com
Sat Oct 23 12:32:30 CDT 2004
So first I ask a FAQ, and then I pull the old "Oh nevermind, I found the
answer, but I'm not going to post it" trick. Sorry about that.
What you want is an admin <who> request; it will need to be run by
someone with read admin rights. Once you're connected, the XMPP request
is:
<iq type='get' to='server.domain.com'>
<query xmlns='jabber:iq:admin'>
<who />
</query>
</iq>
Cheers
-b
> -----Original Message-----
> From: jdev-bounces at jabber.org
> [mailto:jdev-bounces at jabber.org] On Behalf Of Erich Buri
> Sent: Saturday, October 23, 2004 6:10 AM
> To: Jabber software development list
> Subject: Re: [jdev] Enumerating all users' presence?
>
> Hello,
>
> maybe i'm a moron, too. But can you tell me what you found?
>
> buri
>
>
>
> Talley, Brooks wrote:
> > Nevermind. I'm a moron. Found it.
> >
> > -b
> >
> >
> >>-----Original Message-----
> >>From: jdev-bounces at jabber.org
> >>[mailto:jdev-bounces at jabber.org] On Behalf Of Talley, Brooks
> >>Sent: Friday, October 22, 2004 9:20 PM
> >>To: jdev at jabber.org
> >>Subject: [jdev] Enumerating all users' presence?
> >>
> >>I'm working on a community application that will span xmpp,
> a web app,
> >>sms, and couple of other mediums.
> >>
> >>I'm desperately trying to find a way to query a jabber
> server to get a
> >>list of all users currently connected, as well as their presence
> >>status.
> >>I realize that this is going to have to be done with raw
> XMPP (if it's
> >>even possible), and that's fine. But I'm reading the
> RFC's and just
> >>not coming up with the kind of admin interfaces I was hoping for.
> >>
> >>Am I missing something? Can someone point me in the right
> direction?
> >>
> >>Thanks
> >>-Brooks
> >>_______________________________________________
> >>jdev mailing list
> >>jdev at jabber.org
> >>http://mail.jabber.org/mailman/listinfo/jdev
> >>
> >
> > _______________________________________________
> > jdev mailing list
> > jdev at jabber.org
> > http://mail.jabber.org/mailman/listinfo/jdev
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mail.jabber.org/mailman/listinfo/jdev
>
More information about the JDev
mailing list