powered by Jive Software

AccountManager information

I noticed that it is possible to add attribute data to a user account such as the user’'s name, email, address, etc. Is there a way to retrieve this information for users on your roster? I would like to use this information in a user info window. I am at a loss as to how to do this. I have looked over the API with no luck. If it is possible, can someone maybe submit some sample code? Thanks

Kevin,

AFAIK, the information that you provide in the registration process could be retrieved only by the user that made the registration. However, it’'s possible to search for people who have registered with user directories based on their registration information.

Note: Smack doesn’‘t allow to search information and it’'s not in our immediate roadmap to add this functionality. This functionality is not officially part of XMPP. To learn more about “Jabber Search” follow this link: url=http://www.jabber.org/jeps/jep-0055.htmlJEP-0055: Jabber Search[/url].

IMHO, what you are looking for is vCards (url=http://www.jabber.org/jeps/jep-0054.htmlJEP-0054: vcard-temp[/url]). Unfortunately, vCards are not officially part of XMPP and they are not in our immediate roadmap.

Regards,

– Gato