method addUser documentation in bbn\Api\Prosody
Create a new user
function($username, $password, $name = false, $email = false, $groups = false)
{
$endpoint = 'user/' . $username;
return $this->doRequest('post', $endpoint, compact('password','name','email', 'groups'));
}
Create a new user BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2023
BBN Solutions