4.14  User Creation Webservice

There are two ways to create a new user with the webservices. In every case, 4 parameters are required:

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.

4.14.1  create_user_auto

With this webservice you can enable automatic user creation. Here are the parameters

A PHP example

$param = array(
    'admin' => LoginAdmin,
    'adminpwd' => PassAdmin,
    'user' => LoginNouvelUser,
    'pwd' => LeMotDePasseDeLUser,
    'email' => user@sonnomdedomaine.com
    'idforum' => 1
);
$results = $sel->call('create_user_auto', $param);

The webservice returns several parameters if everything went right

4.14.2  create_user_with_id

This webservice enables you to automatically create users by specifying their unique ID. Here are the parameters

A PHP example

$param = array(
    'admin' => LoginAdmin,
    'adminpwd' => PassAdmin,
    'iduser' => 16,
    'user' => LoginNouvelUser,
    'pwd' => LeMotDePasseDeLUser,
    'email' => user@sonnomdedomaine.com
    'idforum' => 1
);
$results = $sel->call('create_user_auto', $param);

If everything went fine, the webservice should return several parameters


4.13 Topic Content Retrieval Webservice: offset4.15 User Password Update Webservice