[JDEV] retrieving name from server
Thomas Muldowney
temas at box5.net
Mon Apr 22 12:59:06 CDT 2002
Server details?
--temas
On Sun, 2002-04-21 at 20:16, Jason Anderson wrote:
> I'm trying to retrieve the name of the logged-on user from the jabber
> server, but I can't figure it out. Here's what I'm doing:
>
> -connect
> -authorize
> -set presence
> -try a query like this:
> <iq type='get' to='localhost'>
> <query xmlns='jabber:iq:register'/>
> </iq>
>
> The result is:
> <iq to="zwei at localhost/Home" from="localhost" type="result">
> <query xmlns="jabber:iq:register">
> <instructions>Choose a username and password to register with this
> server.</instructions>
> <password></password>
> <name></name>
> <email></email>
> <key>00c46204ce5a85a2a4ea0a6d6249642446006454</key>
> <registered></registered>
> </query>
> </iq>
>
> I have a name set, but it is never returned to me. Maybe I should be
> using the browse protocol. Can anyone suggest what the problem might be?
>
> Thanks,
> jason
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
More information about the JDev
mailing list