powered by Jive Software

Getting and changing acout properieties

Is there any possibility to change or at least get acout propierities (such as user name, email etc) from a server?

I found out method connection.getAcountManeger().getAcountAtributes() but it reterns only atributes required by server during acount creation. Usually it’s an empty collection (e.g. jabber.org). I would like to modify other atributes of existing acount.

Is there any way to do so?

hi stachu,

**i have used **Roster class for this

Roster roster = xmpp.getRoster();

RosterEntry userEntry = roster.getEntry(jid);

userEntry .getUser() // gives you their jid,

userEntry .getName() // gives you their real name