Click or drag to resize

ClientUpdatePassword Method

Updates the specified user's password. Requires current password if changing the current user's password, or requires system admin role if changing someone else's password.

Namespace:  MattermostDriver
Assembly:  MattermostDriver (in MattermostDriver.dll) Version: 0.0.3.10 (0.0.3.10)
Syntax
public void UpdatePassword(
	string user_id,
	string new_password,
	string current_password = ""
)

Parameters

user_id
Type: SystemString
The user ID.
new_password
Type: SystemString
The new password.
current_password (Optional)
Type: SystemString
(Optional) The current password, required only if changing current user's password.
See Also