Moloni developers espana logo

UserRead

Back


Reads a User

Returns a user with its sets of permissions and company associations.

Fields

userId: Int!

email: String

name: String!

img: String

phone: String

roleId: Int

role: RoleRead

createdAt: DateTime!

updatedAt: DateTime!

permissions: [UserPermissionRead!]

userCompanies: [CompanyUserRead!]

languageId: Int

language: LanguageRead

lastLoggedIn: DateTime

locked: Boolean

inCooldown: Boolean

agent: AgentRead

twoFactorEnabled: Boolean