Objects

User

A user

Fields

accounts UserAccountConnection

Accounts that the user has access to.

  • after String — The cursor after which to fetch the next set of paginated nodes
  • before String — The cursor before which to fetch the next set of paginated nodes
  • filters [AccountFilter!] — Only accounts that match all of the filters.
  • first Int — The number of paginated nodes to fetch
  • last Int — The number of paginated nodes to fetch
  • orderBy UserAccountOrderInput!
can UserPermissions!

Which permissions the current viewer has on the user.

companyRole String
createdAt Date!

When the user was created.

defaultAccount Account

Return the requested account if the viewer has access; otherwise fall back to the viewer's default (most recently active) account. Returns null only if the user has no accessible accounts.

  • id ID — If provided, return this account when the viewer has access; otherwise fall back to the default.
email String!

Email of the user.

id ID!
image Image!

User image

locale String!

Deprecated: Replaced by `localeTag`.

Locale for the user.

localeIsChosen Boolean

Whether the user chose their locale, rather than it being detected from a device or never observed.

localeTag String

Locale for the user, as a BCP 47 tag such as sv-SE or sv.

name String!

Name of the user.

partners UserPartnerConnection

Deprecated: EXPERIMENTAL: This feature can change at any time and is not meant to be used in any production environment.

Partners this user holds a role on. Null when they could not be read.

  • after String — The cursor after which to fetch the next set of paginated nodes.
  • before String — The cursor before which to fetch the previous set of paginated nodes.
  • first Int — The number of paginated nodes to fetch. Defaults to 50 when neither `first` nor `last` is given; larger values are clamped to 100.
  • last Int — The number of paginated nodes to fetch, counting back from the last node.
permissions [UserPermission!]

Deprecated: EXPERIMENTAL: This feature can change at any time and is not meant to be used in any production environment.

Information about which permissions current viewer has on the user.

startOfWeek Weekday!

What day is the first of the week for the user.

updatedAt Date!

Last time the user was updated.

Interfaces

Node