Chief Tools Logo

User

object

A user or actor in the system.

Implements

Entity·interface

An object with an ID.

Fields

id·ID!

The unique identifier for the object.

name·String!

The user name.

email·String!

The user email address.

timezone·String!

The timezone configured for the user.

createdAt·DateTime!

Identifies the date and time when the object was created.

preferences·[UserPreference!]!(2 args)

The user preferences.

Arguments
  • Indicate which preferences to retrieve by their key.

  • categories[String]!

    Indicates which preferences to retrieve by their category.

teams·[Team!]!

The teams the user belongs to.

plan·Plan!

The plan the user is subscribed to.

repositoryProviders·[RepositoryProvider!]!

The repository providers this user has connected.

app·App(1 arg)

Retrieve a single app by it's ID.

Arguments
apps·[App!]!

Retrieve all the apps the user has access to.

bitbucketAccounts·[BitbucketAccount!]!

The connected Bitbucket accounts.

githubInstallations·[GitHubInstallation!]!

The GitHub app installations the team uses.

pendingGitHubInstallations·[PendingGitHubInstallation]!

The GitHub app installations waiting to be chosen after connecting with GitHub in the web app, null when there are none.

Only available in the web app, always null for API requests.

gitlabAccounts·[GitLabAccount!]!

The connected GitLab accounts.

gitlabApplications·[GitLabApplication!]!

The self-hosted GitLab instances the team connects to.

canConnectSentry·Boolean!

Indicates if the user can connect the team to Sentry.

script·Script(1 arg)

Retrieve a single script by it's ID.

Arguments
sentryInstallations·[SentryInstallation!]!

The connected Sentry organizations.

activityNotificationSettings·ActivityNotificationSettings!

The deployment notifications the user receives for the team.

scripts·ScriptPaginator!(2 args)

Retrieve all the scripts the user has access to.

Arguments
  • firstInt!= 10

    Limits number of fetched items. Maximum allowed value: 100.

  • pageInt

    The offset from which items are returned.

Schema Context

Returned By1
Used By Fields1