> ## Documentation Index
> Fetch the complete documentation index at: https://developer.qminder.com/llms.txt
> Use this file to discover all available pages before exploring further.

# User

No description

```graphql theme={null}
type User {
  id: ID!
  email: String
  firstName: String!
  lastName: String!
  created: Date!
  profilePicture: ProfilePicture
  picture: String @deprecated
  selectedLocation: Location
  selectedDesk: Desk
  selectedLines: [Line!]
  roles: [Role!]
  lastLoggedIn: Date
  lastInvited: Date
  serviceSettings: ServiceSettings
  deleted: Boolean!
  deletedAt: Date
}
```

### Fields

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">User</code>.<code class="gqlmd-mdx-entity-name">id</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">ID!</code></span>](/reference/graphql/scalars/id) <mark class="gqlmd-mdx-badge">non-null</mark> <mark class="gqlmd-mdx-badge">scalar</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">User</code>.<code class="gqlmd-mdx-entity-name">email</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">String</code></span>](/reference/graphql/scalars/string) <mark class="gqlmd-mdx-badge">scalar</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">User</code>.<code class="gqlmd-mdx-entity-name">firstName</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">String!</code></span>](/reference/graphql/scalars/string) <mark class="gqlmd-mdx-badge">non-null</mark> <mark class="gqlmd-mdx-badge">scalar</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">User</code>.<code class="gqlmd-mdx-entity-name">lastName</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">String!</code></span>](/reference/graphql/scalars/string) <mark class="gqlmd-mdx-badge">non-null</mark> <mark class="gqlmd-mdx-badge">scalar</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">User</code>.<code class="gqlmd-mdx-entity-name">created</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">Date!</code></span>](/reference/graphql/scalars/date) <mark class="gqlmd-mdx-badge">non-null</mark> <mark class="gqlmd-mdx-badge">scalar</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">User</code>.<code class="gqlmd-mdx-entity-name">profilePicture</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">ProfilePicture</code></span>](/reference/graphql/objects/profile-picture) <mark class="gqlmd-mdx-badge">object</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">User</code>.<code class="gqlmd-mdx-entity-name">selectedLocation</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">Location</code></span>](/reference/graphql/objects/location) <mark class="gqlmd-mdx-badge">object</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">User</code>.<code class="gqlmd-mdx-entity-name">selectedDesk</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">Desk</code></span>](/reference/graphql/objects/desk) <mark class="gqlmd-mdx-badge">object</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">User</code>.<code class="gqlmd-mdx-entity-name">selectedLines</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">\[Line!\]</code></span>](/reference/graphql/objects/line) <mark class="gqlmd-mdx-badge">list</mark> <mark class="gqlmd-mdx-badge">object</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">User</code>.<code class="gqlmd-mdx-entity-name">roles</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">\[Role!\]</code></span>](/reference/graphql/objects/role) <mark class="gqlmd-mdx-badge">list</mark> <mark class="gqlmd-mdx-badge">object</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">User</code>.<code class="gqlmd-mdx-entity-name">lastLoggedIn</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">Date</code></span>](/reference/graphql/scalars/date) <mark class="gqlmd-mdx-badge">scalar</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">User</code>.<code class="gqlmd-mdx-entity-name">lastInvited</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">Date</code></span>](/reference/graphql/scalars/date) <mark class="gqlmd-mdx-badge">scalar</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">User</code>.<code class="gqlmd-mdx-entity-name">serviceSettings</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">ServiceSettings</code></span>](/reference/graphql/objects/service-settings) <mark class="gqlmd-mdx-badge">object</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">User</code>.<code class="gqlmd-mdx-entity-name">deleted</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">Boolean!</code></span>](/reference/graphql/scalars/boolean) <mark class="gqlmd-mdx-badge">non-null</mark> <mark class="gqlmd-mdx-badge">scalar</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">User</code>.<code class="gqlmd-mdx-entity-name">deletedAt</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">Date</code></span>](/reference/graphql/scalars/date) <mark class="gqlmd-mdx-badge">scalar</mark>

<details class="gqlmd-mdx-details">
  <summary class="gqlmd-mdx-details-summary"><span className="gqlmd-mdx-details-summary-open">DEPRECATED</span></summary>
</details>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">User</code>.<code class="gqlmd-mdx-entity-name">picture</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">String</code></span>](/reference/graphql/scalars/string) <mark class="gqlmd-mdx-badge">deprecated</mark> <mark class="gqlmd-mdx-badge">scalar</mark>

<fieldset class="gqlmd-mdx-admonition-fieldset">
  <legend class="gqlmd-mdx-admonition-legend"><span class="gqlmd-mdx-admonition-legend-type gqlmd-mdx-admonition-legend-type-warning">⚠️ DEPRECATED</span></legend>

  <span>
    Use profilePicture
  </span>
</fieldset>

undefined

### Returned By

[`allUsers`](/reference/graphql/queries/all-users)  <mark class="gqlmd-mdx-badge">query</mark><span class="gqlmd-mdx-bullet"> ● </span>[`me`](/reference/graphql/queries/me)  <mark class="gqlmd-mdx-badge">query</mark><span class="gqlmd-mdx-bullet"> ● </span>[`user`](/reference/graphql/queries/user)  <mark class="gqlmd-mdx-badge">query</mark><span class="gqlmd-mdx-bullet"> ● </span>[`users`](/reference/graphql/queries/users)  <mark class="gqlmd-mdx-badge">query</mark>

### Member Of

[`Appointment`](/reference/graphql/objects/appointment)  <mark class="gqlmd-mdx-badge">object</mark><span class="gqlmd-mdx-bullet"> ● </span>[`Desk`](/reference/graphql/objects/desk)  <mark class="gqlmd-mdx-badge">object</mark><span class="gqlmd-mdx-bullet"> ● </span>[`Interaction`](/reference/graphql/objects/interaction)  <mark class="gqlmd-mdx-badge">object</mark><span class="gqlmd-mdx-bullet"> ● </span>[`Location`](/reference/graphql/objects/location)  <mark class="gqlmd-mdx-badge">object</mark><span class="gqlmd-mdx-bullet"> ● </span>[`Ticket`](/reference/graphql/objects/ticket)  <mark class="gqlmd-mdx-badge">object</mark><span class="gqlmd-mdx-bullet"> ● </span>[`TicketAudit`](/reference/graphql/objects/ticket-audit)  <mark class="gqlmd-mdx-badge">object</mark><span class="gqlmd-mdx-bullet"> ● </span>[`TicketCancelled`](/reference/graphql/objects/ticket-cancelled)  <mark class="gqlmd-mdx-badge">object</mark><span class="gqlmd-mdx-bullet"> ● </span>[`TicketChange`](/reference/graphql/objects/ticket-change)  <mark class="gqlmd-mdx-badge">object</mark><span class="gqlmd-mdx-bullet"> ● </span>[`TicketCreated`](/reference/graphql/objects/ticket-created)  <mark class="gqlmd-mdx-badge">object</mark><span class="gqlmd-mdx-bullet"> ● </span>[`TicketMessage`](/reference/graphql/objects/ticket-message)  <mark class="gqlmd-mdx-badge">object</mark><span class="gqlmd-mdx-bullet"> ● </span>[`UserAppointmentsAvailability`](/reference/graphql/objects/user-appointments-availability)  <mark class="gqlmd-mdx-badge">object</mark>
