[JDEV] How to get user name from a JID?
Julian Missig
julian at jabber.org
Thu Aug 30 17:08:35 CDT 2001
The first and last name are stored in the vCard, so yes, you retrieve the
vCard to get the real name of the user.
Julian
----- Original Message -----
From: "Jens Alfke" <jens at mac.com>
To: <jdev at jabber.org>
Sent: Thursday, 30 August, 2001 17:22
Subject: [JDEV] How to get user name from a JID?
> How does one look up the real name associated with a Jabber ID? I've
> taken another look through the docs but don't see anything obvious,
> other than retrieving the user's vCard (if they have one). Since the
> server asks for your first and last name when you register, it must have
> this info already, but I don't see a way to get it...
>
> (The main reason I want this is so that when a presence subscribe
> request arrives, I can show the full name of the user making the
> request.)
>
> --Jens
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>
More information about the JDev
mailing list