Skip to main content

AdminUser

No description

type AdminUser {
id: ID!
email: String!
gender: Gender
firstName: String
middleName: String
lastName: String
language: String
phone: String
job: String
createdAt: DateTime!
createdBy: Int!
lastModifiedAt: DateTime!
lastModifiedBy: Int!
tenants(
input: AdminUserTenantsSearchInput
): TenantResponse!
}

Fields

AdminUser.id ● ID! non-null scalar

Unique identifier for the administrative user. Used for internal system references and relationships.

AdminUser.email ● String! non-null scalar

Primary email address for the administrative user account. Must be unique across all users and serves as the primary authentication identifier.

AdminUser.gender ● Gender enum

Gender identity of the administrative user. Used for personalization and demographic reporting where applicable. Supports standard gender classifications with unknown as default for privacy.

AdminUser.firstName ● String scalar

First name of the administrative user. Used for personalization and identification in administrative interfaces. Maximum length of 30 characters.

AdminUser.middleName ● String scalar

Middle name or initial of the administrative user. Optional field for complete name representation in formal communications. Maximum length of 20 characters.

AdminUser.lastName ● String scalar

Last name (surname) of the administrative user. Used for formal identification and sorting in administrative listings. Maximum length of 50 characters.

AdminUser.language ● String scalar

Preferred language for user interface and communications. Two-letter ISO 639-1 language code that determines the language for system notifications and interface elements. Maximum length of 2 characters.

AdminUser.phone ● String scalar

Contact phone number for the administrative user. Primary phone number for urgent communications and two-factor authentication. Maximum length of 30 characters.

AdminUser.job ● String scalar

Job title or role description of the administrative user. Professional title that helps identify the user's responsibilities and authority level within the organization. Maximum length of 30 characters.

AdminUser.createdAt ● DateTime! non-null scalar

Timestamp when the administrative user account was created. Used for audit trails and account lifecycle tracking.

AdminUser.createdBy ● Int! non-null scalar

Identifier of the user who created this administrative account. Used for audit trails and accountability tracking.

AdminUser.lastModifiedAt ● DateTime! non-null scalar

Timestamp when the administrative user account was last modified. Automatically updated whenever profile information changes.

AdminUser.lastModifiedBy ● Int! non-null scalar

Identifier of the user who last modified this administrative account. Used for audit trails and change tracking.

AdminUser.tenants ● TenantResponse! non-null object

Retrieve organizational associations for the administrative user with pagination support.

Returns all organizations the user has access to or is associated with. For admin users, returns all unique tenants in the system. For regular users, returns only their assigned tenants.

Possible errors:

  • No specific errors - this field resolver handles all cases gracefully
AdminUser.tenants.input ● AdminUserTenantsSearchInput input

Pagination parameters for retrieving user's organizational associations. If not provided, default pagination settings will be applied.

Returned By

adminUser query ● adminUserCreate mutation ● adminUserUpdate mutation ● adminUserViewer query

Member Of

AdminUserTenant object ● OrderRevision object ● UserResponse object