User
A user of the organization.
type User {
address: String
allPermissions: [String!]
avatar: String
bio: String
city: String
country: String
createdAt: DateTime!
directPermissions: [Permission!]
email: String!
firstName: String!
hasPassword: Boolean!
id: ID!
jobRole: String
language: String
lastLogin: DateTime
lastLoginAt: DateTime
lastName: String!
location: String
mustChangePassword: Boolean!
name: String!
organization: Organization
organizationId: String!
passwordChangedAt: DateTime!
permissions: [String!]!
phone: String
postalCode: String
role: UserRole!
roles: [Role!]
status: UserStatus!
theme: String
timezone: String
twoFactorEnabled: Boolean!
updatedAt: DateTime!
}
Fields
User.address ● String scalar
The address.
User.allPermissions ● [String!] list scalar
Every permission the user has, from roles and direct grants.
User.avatar ● String scalar
The URL of the picture.
User.bio ● String scalar
A short bio.
User.city ● String scalar
The city.
User.country ● String scalar
The country.
User.createdAt ● DateTime! non-null scalar
When the record was created.
User.directPermissions ● [Permission!] list object
The permissions granted to the user directly.
User.email ● String! non-null scalar
Email address.
User.firstName ● String! non-null scalar
The first name.
User.hasPassword ● Boolean! non-null scalar
True when the account has a password to change. False means the user signs in only by one-time code or single sign on, and can set one.
User.id ● ID! non-null scalar
The unique ID of this record.
User.jobRole ● String scalar
The job title.
User.language ● String scalar
The language.
User.lastLogin ● DateTime scalar
When the user last signed in.
User.lastLoginAt ● DateTime scalar
When the user last signed in.
User.lastName ● String! non-null scalar
The last name.
User.location ● String scalar
Where the user is based.
User.mustChangePassword ● Boolean! non-null scalar
True when the user must change their password at the next sign in.
User.name ● String! non-null scalar
The full name.
User.organization ● Organization object
The organization the user belongs to.
User.organizationId ● String! non-null scalar
The ID of the organization the record belongs to.
User.passwordChangedAt ● DateTime! non-null scalar
When the password was last changed.
User.permissions ● [String!]! non-null scalar
The permissions the server enforces for the user, from their roles and direct grants.
User.phone ● String scalar
Phone number.
User.postalCode ● String scalar
The postal code.
User.role ● UserRole! non-null enum
The role.
User.roles ● [Role!] list object
The roles the user is in.
User.status ● UserStatus! non-null enum
The status.
User.theme ● String scalar
The theme.
User.timezone ● String scalar
The time zone.
User.twoFactorEnabled ● Boolean! non-null scalar
True when two-factor sign in is on.
User.updatedAt ● DateTime! non-null scalar
When the record was last changed.
Returned By
changePassword mutation ● createUser mutation ● deleteUser mutation ● me query ● updateProfile mutation ● updateUser mutation ● user query ● users query
Member Of
AuthResponse object ● ChatChannel object ● ChatChannelMember object ● ChatMessage object ● GoogleAuthResponse object ● GoogleRegisterResponse object ● PaginatedUsersResponse object ● ProductReturn object ● Quote object ● Role object ● StockMovement object ● UserRelationship object