ApplicationUserManager..::..FindByEmailOrUserName Method
Finds ApplicationUser based on user name or by email.
Namespace:
FLEXYGO.Authentication.IdentityAssembly: flxAuthentication (in flxAuthentication.dll)
Syntax
public ApplicationUser FindByEmailOrUserName( string userName )
Public Function FindByEmailOrUserName ( _ userName As String _ ) As ApplicationUser
Parameters
- userName
- Type: String
Name of the user.