powered by Jive Software

Find out if acct exists

is there a way to find out if an acct exists? in our setup users will already be reg’‘d w/us and we will pass all info w/a query string… then create jabber acct in applet, but before create jabber acct need to know if it exists already, don’‘t see method in AccountManager to get all accounts… pls is there a way to do this? (since can’'t connect to db from applet…) thank you…

Hi Kali,

Smack doesn’'t provide a way direct way to find out if an account already exists, but if you attempt to create an account with an username that already exists an XMPPException will be thrown with an error code of 409.

Hope that helps,

Ryan