Skip to main content
QUERY
userById(id: ID!): UserV2!

Arguments

id
ID!
required

Global id of the user (UserV2.id).

Returns

appSettings

The user's own settings in one app's namespace within the current tenant. Only readable by that user.

Arguments
appKey
keys
[String!]
createdAt

When the user was added.

email
String!

Email address of the user.

firstName
String!

First name of the user.

id
ID!

Global id of the user. userById and the user mutations take it. TenantUser.userId holds the raw UUID.

image
String

URL of the user's profile picture. Null if there is none.

lastLoggedIn

When the user last signed in. Null if they never have.

lastName
String!

Last name of the user.

Permissions the user has in the current tenant, from their roles and granted directly.

Arguments
after
String

Returns the elements in the list that come after the specified cursor.

before
String

Returns the elements in the list that come before the specified cursor.

first
Int

Returns the first n elements from the list.

last
Int

Returns the last n elements from the list.

Roles the user has in the current tenant.

Arguments
after
String

Returns the elements in the list that come after the specified cursor.

before
String

Returns the elements in the list that come before the specified cursor.

first
Int

Returns the first n elements from the list.

last
Int

Returns the last n elements from the list.

Whether the user has signed in to the current tenant yet. See UserInTenantStatus.

Query
Variables
Response