Click or drag to resize

ClientCreateUser Method

Creates a new user based on the given information.

Namespace:  MattermostDriver
Assembly:  MattermostDriver (in MattermostDriver.dll) Version: 0.0.3.10 (0.0.3.10)
Syntax
public User CreateUser(
	string email,
	string username,
	string password,
	string first_name = "",
	string last_name = "",
	string nickname = "",
	string locale = ""
)

Parameters

email
Type: SystemString
The user's email.
username
Type: SystemString
The user's username.
password
Type: SystemString
The user's password.
first_name (Optional)
Type: SystemString
(Optional) The user's first name.
last_name (Optional)
Type: SystemString
(Optional) The user's last name.
nickname (Optional)
Type: SystemString
(Optional) The user's nickname.
locale (Optional)
Type: SystemString
(Optional) The user's locale.

Return Value

Type: User
The newly-created User object.
See Also