[JDEV] returning all spool directory members

DJ Adams dj.adams at pobox.com
Thu May 10 17:02:25 CDT 2001


On Wed, May 09, 2001 at 04:33:52PM -0600, Todd Bradley wrote:
> All users?  I've never seen such a thing.  But this is the code to use to
> show online users:
> 
> <iq type='get' to='jabber.toddbradley.com'><query
> xmlns='jabber:iq:admin'><who/></query></iq>
> 
> Note: This works with JCS, but I'm not sure if it works with the open source
> server.

It does. You can also be 'trendy' and do this

<iq type='get' to='servername/admin'>
  <query xmlns='jabber:iq:browse'/>
</iq>

to get much of the same info (i.e. online user details) in a different
(browse style) format. 

dj



More information about the JDev mailing list