There are two ways to create a new user with the webservices. In every case, 4 parameters are required:
Login ID of the account to create
Password of the account to create
Email of the member
ID of the forum where the member is to be registered
Then you can let the webservice return a unique ID number that you can backup on your side, useful in case of synchronization. You can also create the user first on your side and then create the user on the forum by specifying the ID number.
With this webservice you can enable automatic user creation. Here are the parameters
admin : login of the forum administrator
adminpwd : password of the forum administrator
user : login or nickname of the user to create
pwd : password of the user (non encrypted)
email : Email of the user. Warning: keep in mind that this email address should not already exist for another member of the forum. Otherwise, it will purge the account of the member who firstly registered with this email address.
idforum : ID of the forum where the user should be registered..
A PHP example
The webservice returns several parameters if everything went right
iduser : unique ID of the newly created user
status : Status is a string which can contain "New user" or "Already exist". The first one if the user has already been created, the second one if there was already member with this pseudo and this password
This webservice enables you to automatically create users by specifying their unique ID. Here are the parameters
admin : Login of a forum administrator
adminpwd : password of a forum administrator
iduser : unique ID of the user
user : Login or pseudo of the user to be created
pwd : user password (non encrypted)
pwdmd5 : md5 type user password. This enables you to synchronize a data basis if you have not backed up the password.
When sending the password in the MD5 format, you need to send an empty string for the pwd parameter to include it.
email : User Email. Warning: keep in mind that this email address should not already exist for another member of the forum. Otherwise, it will purge the account of the member who firstly registered with this email address.
idforum : ID of the forum where the user will be registered..
A PHP example
If everything went fine, the webservice should return several parameters
iduser : The unique ID of the newly-created user (which must equal the transmitted ID)
status : Status is a string which can contain "New user" or "Already exist". The first one if the user has already been created, the second one if there was already member with this pseudo and this password