<!-- sdk-ref package=PairSystems.Goodmem.Client registry=nuget version=2.0.2 -->

# Users.GetByUsernameAsync

Get user by username.

```csharp
Task<UserResponse> GetByUsernameAsync(string username, UsersGetByUsernameOptions? options = null, CancellationToken ct = default)
```

[Users](../Users.md) · [.NET](../../dotnet.md)

Related types — open only those used by your request:

- [UsersGetByUsernameOptions](../models/UsersGetByUsernameOptions.md)
