Skip to main content

user

Looks up a single user by id. Requires a valid game token. Another user's private fields (email, state, isConfirmed, early access, orgId, externalId, userType, isSuperAdmin, isOperator, hasPassword, permissionsForOrg) are null unless the caller is that user, a super-admin or an operator. A game client showing names should use playerProfile / playerProfiles.

user(
id: BigInt!
): User

Arguments​

user.id ● BigInt! non-null scalar​

Target user id (BigInt sent as a decimal string).

Type​

User object​