# users (/api/reference/queries/users)

The workspace's team, in id order. It includes teammates who have been invited and have not signed in yet, so they can be given work, and people who have left whom records still name. The caller is `viewer.user`.

```graphql
users(
  after: String
  before: String
  first: Int
  last: Int
): UserConnection!
```

### Arguments [#arguments]

#### [`users.after`](#after) · [`String`](/api/reference/scalars/string) `scalar` [#after]
Return the rows that follow this cursor.

#### [`users.before`](#before) · [`String`](/api/reference/scalars/string) `scalar` [#before]
Return the rows that come before this cursor.

#### [`users.first`](#first) · [`Int`](/api/reference/scalars/int) `scalar` [#first]
How many rows to return, from the start or from `after`. 50 when left out, 200 at most.

#### [`users.last`](#last) · [`Int`](/api/reference/scalars/int) `scalar` [#last]
How many rows to return, counting back from the end or from `before`. 200 at most.

### Type [#type]

#### [`UserConnection`](/api/reference/objects/user-connection) `object` [#userconnection-object]
A page of a workspace's users.