Click or drag to resize
ApplicationUserStoreTUserFindByNameAsync Method
Finds and returns a user, if any, who has the specified normalized user name.

Namespace: Kentico.Membership
Assembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntax
C#
public Task<TUser> FindByNameAsync(
	string normalizedUserName,
	CancellationToken cancellationToken
)

Parameters

normalizedUserName
Type: SystemString
The normalized user name to search for.
cancellationToken
Type: System.ThreadingCancellationToken
The CancellationToken used to propagate notifications that the operation should be canceled.

Return Value

Type: TaskTUser
The TaskTResult that represents the asynchronous operation, containing the user matching the specified normalizedUserName if it exists.

Implements

IUserStore.FindByNameAsync(String, CancellationToken)
See Also