Skip to main content

MeOutput

The infos related to the current user

type MeOutput {
id: String!
firstName: String!
lastName: String!
mobile: String!
email: String!
isEmailValidated: Boolean!
role: UserRole!
status: UserStatus!
site: Site
language: Language!
integrator: Integrator
distributor: Distributor
isTwoFactorEnabled: Boolean!
isAccountManagerContact: Boolean
isSalesContact: Boolean
isTechnicalContact: Boolean
isBillingContact: Boolean
permissions: [Permission!]!
origin: UserOrigin!
deviceConfigTemplates: [DeviceConfigTemplate!]!
createdAt: DateTime!
updatedAt: DateTime!
}

Fields

MeOutput.id ● String! non-null scalar

The ID of the user

MeOutput.firstName ● String! non-null scalar

The first name of the user

MeOutput.lastName ● String! non-null scalar

The last name of the user

MeOutput.mobile ● String! non-null scalar

The phone number of the user

MeOutput.email ● String! non-null scalar

Email of the user

MeOutput.isEmailValidated ● Boolean! non-null scalar

Whether the email of the user has been validated

MeOutput.role ● UserRole! non-null enum

The role of the user

MeOutput.status ● UserStatus! non-null enum

The status of the user : PENDING, ACTIVE, BLOCKED, DELETED

MeOutput.site ● Site object

The site of the user

MeOutput.language ● Language! non-null enum

MeOutput.integrator ● Integrator object

The integrator of the user

MeOutput.distributor ● Distributor object

The distributor of the user

MeOutput.isTwoFactorEnabled ● Boolean! non-null scalar

Whether the user has enabled 2FA

MeOutput.isAccountManagerContact ● Boolean scalar

Whether the user is account manager contact

MeOutput.isSalesContact ● Boolean scalar

Whether the user is sales contact

MeOutput.isTechnicalContact ● Boolean scalar

Whether the user is technical contact

MeOutput.isBillingContact ● Boolean scalar

Whether the user is billing contact

MeOutput.permissions ● [Permission!]! non-null enum

The permissions of the user

MeOutput.origin ● UserOrigin! non-null enum

The origin of the user : APPLICATION, SYSTEM

MeOutput.deviceConfigTemplates ● [DeviceConfigTemplate!]! non-null object

The device config templates of the user

MeOutput.createdAt ● DateTime! non-null scalar

The date of creation of the user

MeOutput.updatedAt ● DateTime! non-null scalar

The date of the last update of the user

Returned By

me query