Marketplace API / Queries

userByUsername

Finds a member by username. The match ignores case, spaces and characters other than letters, digits and _. Usernames can change: store the user's id, not the username. Returns null when no member has the username.

userByUsername(
  username: NonEmptyString!
): User

Arguments

ArgumentTypeDescription
usernameNonEmptyString!The username to find.

Return type

User