Click or drag to resize
KenticoUserStoreTUserSetLockoutEnabledAsync Method

Note: This API is now obsolete.

Sets whether the user can be locked out.

Namespace: Kentico.Membership
Assembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Method is not implemented.", true)]
public Task SetLockoutEnabledAsync(
	TUser user,
	bool enabled
)

Parameters

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

Return Value

Type: Task

Implements

IUserLockoutStore.SetLockoutEnabledAsync(UTP, Boolean)
See Also