Click or drag to resize
UserStoreSetTwoFactorEnabledAsync Method
Sets whether two factor authentication is enabled for the user.

Namespace: Kentico.Membership
Assembly: Kentico.Membership (in Kentico.Membership.dll) Version: 12.0.0
Syntax
C#
public Task SetTwoFactorEnabledAsync(
	User user,
	bool enabled
)

Parameters

user
Type: Kentico.MembershipUser
User.
enabled
Type: SystemBoolean
Whether users should go through two-factor authentication.

Return Value

Type: Task

Implements

IUserTwoFactorStore.SetTwoFactorEnabledAsync(UTP, Boolean)
Remarks
Not used in current implementation.
See Also