> 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/object-types/role-assignment.md).

# RoleAssignment

Represents the assignment of a role.

```graphql
type RoleAssignment {
  createdAt: Time
  id: ID!
  modifiedAt: Time
  on: RoleAssignmentOn
  role: Role!
  to: RoleAssignmentTo!
}
```

### Fields

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

The time at which this role assignment was first created.

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

The unique identifier for this role assignment.

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

The time at which this role assignment was last modified.

#### on ● [`RoleAssignmentOn`](/api/graphql/data-access/unions/role-assignment-on.md) union <a href="#on" id="on"></a>

Optionally describes which entity the role is assigned on.

#### role ● [`Role!`](/api/graphql/data-access/object-types/role.md) non-null object <a href="#role" id="role"></a>

The role that is assigned.

#### to ● [`RoleAssignmentTo!`](/api/graphql/data-access/unions/role-assignment-to.md) non-null union <a href="#to" id="to"></a>

Describes who/what the role is assigned to.

### Member Of

[`RoleAssignmentEdge`](/api/graphql/data-access/object-types/role-assignment-edge.md) object
