powered by Jive Software

Creating a user account with Samck

Is it possible to create a user account with the smack api?

Do I always neeed to manually create an account through the Admin Console.

It must be possible since it can be done using Sparc



Please check the Javadocs

In particular you will find AccountManager#createAccount() to be useful




I recently posted a code snipped here: http://www.jivesoftware.org/community/thread.jspa?messageID=112161&#112161 (you may need to remove the %20 characters out of this URL if there are any).


Thanks, this was helpful.

Initially I was using the embeded database but then I was thinking of using an external database (mysql) jdbc connection and simply add manage users directly

in the database, this way I can import a list.