Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
Kentico Namespaces
Kentico.Membership Namespaces
Kentico.Membership
UserStore Class
UserStore Methods
AddLoginAsync Method
AddToRoleAsync Method
CreateAsync Method
DeleteAsync Method
Dispose Method
FindAsync Method
FindByEmailAsync Method
FindByIdAsync Method
FindByNameAsync Method
GetAccessFailedCountAsync Method
GetEmailAsync Method
GetEmailConfirmedAsync Method
GetLockoutEnabledAsync Method
GetLockoutEndDateAsync Method
GetLoginsAsync Method
GetPasswordHashAsync Method
GetRolesAsync Method
GetSecurityStampAsync Method
GetTwoFactorEnabledAsync Method
HasPasswordAsync Method
IncrementAccessFailedCountAsync Method
IsInRoleAsync Method
RemoveFromRoleAsync Method
RemoveLoginAsync Method
ResetAccessFailedCountAsync Method
SetEmailAsync Method
SetEmailConfirmedAsync Method
SetLockoutEnabledAsync Method
SetLockoutEndDateAsync Method
SetPasswordHashAsync Method
SetSecurityStampAsync Method
SetTwoFactorEnabledAsync Method
UpdateAsync Method
UserStore
SetLockoutEnabledAsync 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#
Copy
public
Task
SetLockoutEnabledAsync
(
User
user
,
bool
enabled
)
Parameters
user
Type:
Kentico.Membership
User
User.
enabled
Type:
System
Boolean
Whether the user can be locked out.
Return Value
Type:
Task
Implements
IUserLockoutStore.SetLockoutEnabledAsync(UTP, Boolean)
See Also
Reference
UserStore Class
Kentico.Membership Namespace
Copyright (c) 2019 Kentico Software
Send comments on this topic to
support@kentico.com