Click or drag to resize

ClientUpdateUserMFA Method

Activates or deactivates multi-factor authentication for the specified user.

Namespace:  MattermostDriver
Assembly:  MattermostDriver (in MattermostDriver.dll) Version: 0.0.3.10 (0.0.3.10)
Syntax
public void UpdateUserMFA(
	string user_id,
	bool activate,
	string code = ""
)

Parameters

user_id
Type: SystemString
The user ID.
activate
Type: SystemBoolean
If true, MFA will be activated and a code is required. If false, MFA will be deactivated and a code is not required.
code (Optional)
Type: SystemString
(Optional) If activating MFA, a valid code is required.
See Also