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
FindByNameAsync Method
Finds the user by user's username.
Namespace:
Kentico.Membership
Assembly:
Kentico.Membership (in Kentico.Membership.dll) Version: 12.0.0
Syntax
C#
Copy
public
Task
<
User
>
FindByNameAsync
(
string
userName
)
Parameters
userName
Type:
System
String
Username.
Return Value
Type:
Task
User
Implements
IUserStore.FindByNameAsync(String)
See Also
Reference
UserStore Class
Kentico.Membership Namespace
Copyright (c) 2019 Kentico Software
Send comments on this topic to
support@kentico.com