Code0 LogoCodeZero

User

Represents a user

Fields without arguments

NameTypeDescription
adminBooleanGlobal admin status of the user
avatarPathStringThe avatar if present of the user
blockedBooleanWhether the user is blocked from accessing the application
createdAtTime!Time when this User was created
deletionRestrictionUserDeletionRestrictionThe reason why this user cannot be deleted
emailStringEmail of the user
emailVerifiedAtTimeEmail verification date of the user if present
firstnameStringFirstname of the user
idUserID!Global ID of this User
identitiesUserIdentityConnection!Identities of this user
lastnameStringLastname of the user
mfaStatusMfaStatusMulti-factor authentication status of this user
namespaceNamespaceNamespace of this user
namespaceMembershipsNamespaceMemberConnection!Namespace Memberships of this user
namespacePins[NamespaceID!]!IDs of the pinned namespaces of this user, ordered by priority
readmeStringReadme of the user
sessionsUserSessionConnection!Sessions of this user
updatedAtTime!Time when this User was last updated
userAbilitiesUserUserAbilities!Abilities for the current user on this User
usernameString!Username of the user

Fields with arguments

projectPins

IDs of the pinned projects of this user within the given namespace, ordered by priority

Returns [NamespaceProjectID!]!.

NameTypeDescription
namespaceIdNamespaceID!ID of the namespace to list the pinned projects for

On this page