Skip to main content

User

User query

User(
id: Int
name: String
isModerator: Boolean
search: String
sort: [UserSort]
): User

Arguments

User.id ● Int scalar

Filter by the user id

User.name ● String scalar

Filter by the name of the user

User.isModerator ● Boolean scalar

Filter to moderators only if true

User.search ● String scalar

Filter by search query

User.sort ● [UserSort] list enum

The order the results will be returned in

Type

User object

A user