Add Users with smack

Hi, i’m a new developer that use the fantastic library Smack but i have a question

I can add users with my client any idea for create this part?

Sorry for my english

For example:

XMPPConnection connection = new XMPPConnection(configuration);
connection.connect();
AccountManager accountManager = connection.getAccountManager();
accountManager.createAccount("username", "password");

See JavaDocs for more details.

Did not mean that

I want to add friends in my contacts like msn.

Sorry

Please read the Documentation and have a look on the JavaDoc.