A user account.
graphql
type User implements Entity {
id: ID!
name: String!
email: Email!
hasAvatar: Boolean!
}Fields
User.id ● ID! non-null scalar
The unique identifier of the user.
User.name ● String! non-null scalar
The display name of the user.
User.email ● Email! non-null scalar
The email address of the user.
User.hasAvatar ● Boolean! non-null scalar
Whether the user has a custom avatar.
Interfaces
Entity interface
Entity represents an entity that may not be available to the current caller. Multiple reasons may restrict this access, such as if the user has left a company, or if the user used his GDPR right to delete his account.
Entity should be returned by the schema when accessing such a user cannot be predicted by the caller. Any attempt to access a user should return a User or throw an exception.
Returned By
viewer query

