> For the complete documentation index, see [llms.txt](https://developer.collibra.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.collibra.com/api/graphql/data-access/input-types/who-item-input.md).

# WhoItemInput

Input object to represent a WHO item for the access control. Only one of `user`, `accessControl`, `dataSource` or `recipient` should be filled in, depending on the type of the WHO item.

```graphql
input WhoItemInput {
  accessControl: ID
  dataSource: ID
  expiresAt: Time
  promiseDuration: Duration
  recipient: String
  type: AccessWhoItemType
  user: ID
}
```

### Fields

#### accessControl ● [`ID`](/api/graphql/data-access/scalars/id.md) scalar <a href="#access-control" id="access-control"></a>

The ID of the access control for the WHO item.

#### dataSource ● [`ID`](/api/graphql/data-access/scalars/id.md) scalar <a href="#data-source" id="data-source"></a>

The ID of the data source for the WHO item (for shares).

#### expiresAt ● [`Time`](/api/graphql/data-access/scalars/time.md) scalar <a href="#expires-at" id="expires-at"></a>

The time at which this WHO item will expire.

#### promiseDuration ● [`Duration`](/api/graphql/data-access/scalars/duration.md) scalar <a href="#promise-duration" id="promise-duration"></a>

In case `type=whoPromise`, this indicates for how long the promise will provide access when requested.

#### recipient ● [`String`](/api/graphql/data-access/scalars/string.md) scalar <a href="#recipient" id="recipient"></a>

The identifier of the recipient account (for shares).

#### type ● [`AccessWhoItemType`](/api/graphql/data-access/enumerations/access-who-item-type.md) enum <a href="#type" id="type"></a>

Defines if the users that are matched by this ABAC rule will get the access granted directly or as a promise (pre-approval).

#### user ● [`ID`](/api/graphql/data-access/scalars/id.md) scalar <a href="#user" id="user"></a>

The ID of the user for the WHO item.

### Member Of

[`AccessControlInput`](/api/graphql/data-access/input-types/access-control-input.md) input ● [`addWhoToAccessControl`](/api/graphql/data-access/mutations/add-who-to-access-control.md) mutation ● [`addWhoToAccessControlFromAccessRequest`](/api/graphql/data-access/mutations/add-who-to-access-control-from-access-request.md) mutation
