OBJECT

User

User of the Assignar platform.

link GraphQL Schema definition

  • type User {
  • # Unique user ID.
  • id: Int!
  • # A custom employee ID string for pairing with other systems.
  • employee_id: String
  • # Login name.
  • username: String!
  • # First/Given name.
  • first_name: String!
  • # Last/Surname.
  • last_name: String!
  • # Gull name.
  • full_name: String!
  • # Date of birth.
  • date_of_birth: DateExpression
  • # Mailing address.
  • address: Address
  • # Contact email address.
  • email: String
  • # Contact phone number.
  • contact_number: String
  • # Employment type.
  • employment_type: EmploymentType
  • # Emergency contact details.
  • emergency_contact: emergencyContact
  • # True if the user is active, false if they have been archived.
  • is_active: Boolean!
  • # True if the user is generated by system and not customer, such as an internal
  • # temporary support user.
  • is_system: Boolean!
  • # The user that made the last change.
  • modified_by: User
  • # The date/time the last change was made in UTC+0.
  • modified_time: DateTime
  • # Free text comments.
  • comments: String
  • # Unique Student Identifier.
  • usi: String
  • # A picture of the user.
  • user_pic: String
  • # Total number of expired inductions the user has.
  • expired_inductions_count: Int!
  • # Total number of expired competencies the user has.
  • expired_competencies_count: Int!
  • # The user's account type.
  • type: UserType
  • # The categorization tags on the user.
  • tags: [Tag]
  • # The user's tag-based access privileges.
  • access: [Tag]
  • # The user's system access privileges.
  • access_roles: [UserRole]
  • # The user's competencies.
  • user_competencies: [UserCompetency]
  • # The user's inductions.
  • user_inductions: [UserInduction]
  • # The user's skills.
  • user_skills: [UserSkill]
  • # The user's preferences.
  • user_preferences: [UserPreference]
  • # A user's suppliers
  • suppliers: [Supplier]
  • # Form results where this user was linked via a field.
  • linked_form_results: [FormResult]
  • # A unique identifier determining the valid JWT tokens for this user.
  • token_identifier: String!
  • # Leave requests for the user.
  • leave_requests: [LeaveRequest]
  • # Weekly unavailability for the user.
  • unavailability: UserUnavailability
  • # Roles associated to the user.
  • roles: [Task]
  • }