Skip to main content

# User

No description

    type User {
      id: ID!
      principal: String
      title: String
      firstname: String!
      middlename: String
      lastname: String!
      description: String
      address: String
      postBox: String
      postalCode: String
      city: String
      country: String
      email: String
      emailAlternative: String
      phone: String
      mobile: String
      fax: String
      locked: Boolean
      lockReason: String
      timezone: String
      notificationDisabled: Boolean
      customData: String
      userDirectory: UserDirectory
      customerRestricted: Boolean
      sapRouters: String
      passwordChanged: DateTime
      passwordDeprecated: DateTime
      lastLogin: DateTime
      validFrom: DateTime
      validUntil: DateTime
      termsOfServiceAccepted: Boolean
      timestamp: DateTime
      customer: Customer
      groups: [Group!]!
      roles: [Role!]!
      tokens: [DeviceToken!]!
      permissions: PermissionsForUser
    }

### Fields​

#### `User.id` ● `ID!` non-null scalar​

#### `User.principal` ● `String` scalar​

#### `User.title` ● `String` scalar​

#### `User.firstname` ● `String!` non-null scalar​

#### `User.middlename` ● `String` scalar​

#### `User.lastname` ● `String!` non-null scalar​

#### `User.description` ● `String` scalar​

#### `User.address` ● `String` scalar​

password: String

#### `User.postBox` ● `String` scalar​

#### `User.postalCode` ● `String` scalar​

#### `User.city` ● `String` scalar​

#### `User.country` ● `String` scalar​

#### `User.email` ● `String` scalar​

#### `User.emailAlternative` ● `String` scalar​

Alternative email address sometimes used in notification actions.

#### `User.phone` ● `String` scalar​

#### `User.mobile` ● `String` scalar​

#### `User.fax` ● `String` scalar​

#### `User.locked` ● `Boolean` scalar​

#### `User.lockReason` ● `String` scalar​

#### `User.timezone` ● `String` scalar​

#### `User.notificationDisabled` ● `Boolean` scalar​

#### `User.customData` ● `String` scalar​

#### `User.userDirectory` ● `UserDirectory` enum​

If this user identity is managed by an external user directory.

#### `User.customerRestricted` ● `Boolean` scalar​

#### `User.sapRouters` ● `String` scalar​

#### `User.passwordChanged` ● `DateTime` scalar​

#### `User.passwordDeprecated` ● `DateTime` scalar​

#### `User.lastLogin` ● `DateTime` scalar​

#### `User.validFrom` ● `DateTime` scalar​

#### `User.validUntil` ● `DateTime` scalar​

#### `User.termsOfServiceAccepted` ● `Boolean` scalar​

#### `User.timestamp` ● `DateTime` scalar​

#### `User.customer` ● `Customer` object​

#### `User.groups` ● `[Group!]!` non-null object​

The groups assigned to this user.

#### `User.roles` ● `[Role!]!` non-null object​

The roles assigned to this user.

#### `User.tokens` ● `[DeviceToken!]!` non-null object​

The device tokens

#### `User.permissions` ● `PermissionsForUser` object​

The permission this users has on which customer.

### Returned By​

`currentUser` query ● `user` query ● `users` query

### Member Of​

`AutomationExecution` object ● `AutomationJob` object ● `BusinessService` object ● `Change` object ● `CheckConfirmTimelineItem` object ● `CheckPropertyTimelineItem` object ● `CloudService` object ● `Confirmation` object ● `Credentials` object ● `Dashboard` object ● `Database` object ● `DefaultMessage` object ● `Group` object ● `JobMessage` object ● `Message` interface ● `MessageCenter` object ● `MobileNotification` object ● `MonitoredSystem` interface ● `NotificationSettings` object ● `Role` object ● `SapBusinessObject` object ● `SapInstance` object ● `SapSystem` object ● `Server` object ● `UserReference` object ● `WorkflowExecution` object