User
Object
Contains the details about a user.
type User {
created: DateTime
email: String
emailVerified: Boolean
id: String
lastLogin: DateTime
loginsCount: Long
name: String
nickname: String @deprecated
orgRoles: [String]
organization: Org
roles: [Role]
tokens(filter: PersonalAccessTokenFilterInput): [PersonalAccessToken]
updated: DateTime
}
Fields
| Field | Type | Description |
|---|---|---|
created | DateTime | The timestamp of the user creation. |
email | String | The user's email. |
emailVerified | Boolean | True or False, whether the user has verified their email yet. |
id | String | The unique ID of the user. |
lastLogin | DateTime | |
loginsCount | Long | |
name | String | The name of a user - this will be the full name, first and last. |
nickname | String | Deprecated No longer supported The user's nickname (often just the first name of the user). |
orgRoles | [String] | |
organization | Org | The details for the user's organization. |
roles | [Role] | Lists the user's roles, such as ADMIN or EXPLORER. |
tokens | [PersonalAccessToken] | Lists the tokens for the user - will not return the actual PAT, but will show name, permissions/scopes, when the token was last used. Arguments: filter: PersonalAccessTokenFilterInput |
updated | DateTime | Timestamp when one or more user details were last updated. |
Used by
LiveQuery.user(field)me(query)Org.users(field)UserAssignRoleResponse.user(field)UserCreateResponse.user(field)UserRemoveRoleResponse.user(field)users(query)UserUpdateResponse.user(field)WebhookTarget.user(field)