You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't understand your question. Could you please be a little bit more wordy ?
User creation is shown in the doc
// create a new user$newuser = new \RocketChat\User('new_user_name', 'new_user_password', array(
'nickname' => 'New user nickname',
'email' => '[email protected]',
));
if( !$newuser->login(false) ) {
// actually create the user if it does not exist yet$newuser->create();
}
// create a new user
$newuser = new \RocketChat\User('new_user_name', 'new_user_password', array(
'nickname' => 'New user nickname',
'email' => '[email protected]',
));
if( !$newuser->login(false) ) {
// actually create the user if it does not exist yet
$newuser->create();
}
The text was updated successfully, but these errors were encountered: