KenticoUserStoreTUserSetLockoutEnabledAsync Method |
Note: This API is now obsolete.
Sets whether the user can be locked out.
Namespace: Kentico.MembershipAssembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntax [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:
TaskImplements
IUserLockoutStore.SetLockoutEnabledAsync(UTP, Boolean)See Also