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>
Peter
--
Peter Saint-Andre
email/jabber: [EMAIL PROTECTED]
blog: http://stpeter.manilasites.com/
On Mon, 15 Oct 2001, Malli, Siva_Kumar wrote:
> I am not able to send mails to JDEV for a while. I don't know
> whether this reaches
> the list or not. Please don't mind the delay that has been caused and kindly
> reply to
> my query.
>
> Yeah, that's exactly what i want. Given the name of the user, i must
> be able
> to find out whether he is online or not. And then the actual number of users
>
> online in the whole server. If it's not maintained by the
> user.xml file, please do tell me where to find that information and how to
> access it.
>
> Thanks,
> Siva
>
>
> Date: Mon, 8 Oct 2001 17:59:34 -0500 (CDT)
> From: Peter Saint-Andre <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> To: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> Subject: Re: [JDEV] How to find whether a user is offline from user.xml file
> Reply-To: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
> State is not kept in the user.xml file, it's maintained in the Jabber
> session manager. Do you want to be able to see the state of any random
> user? And are you interested in getting this information for users on a
> server that you run (i.e., you are the server admin) or for any old
> server?
>
> Peter
>
> --
> Peter Saint-Andre
> email/jabber: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> web: <http://www.saint-andre.com/>
>
>
>
>
>
> _______________________________________________
> jdev mailing list
> [EMAIL PROTECTED]
> http://mailman.jabber.org/listinfo/jdev
>
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev