Retrieves a user login by the provided username. Returns null if the login could not be found.

public abstract ValueTask<IUserLogin> GetUserLoginByNameAsync(string username)
Returns:
ValueTask<IUserLogin>

Parameters

username string

The case-insensitive username of the user.

In this article