Click or drag to resize
UserStoreSetLockoutEnabledAsync Method
Sets whether the user can be locked out.

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

Parameters

user
Type: Kentico.MembershipUser
User.
enabled
Type: SystemBoolean
Whether the user can be locked out.

Return Value

Type: Task

Implements

IUserLockoutStore.SetLockoutEnabledAsync(UTP, Boolean)
See Also