---
name: DomainType
last_updated: 2026-11-06T19:09:51Z
type: enum
summary: "Specifies the type of domain that a User is scoped to."
---

# DomainType

Specifies the type of domain that a [User](/docs/reference/engine/datatypes/User.md) is scoped to.

**Type:** enum

## Description

The **DomainType** enum describes the kind of domain in which a domain user ID
is unique. It is used by the [User](/docs/reference/engine/datatypes/User.md) data type to identify whether the
user's ID belongs to an experience, a group, or an OAuth application.

## Items

| Name | Value | Description |
|------|-------|-------------|
| `Experience` | 1 | Indicates that the associated [User](/docs/reference/engine/datatypes/User.md) ID is scoped to a specific experience. The domain ID corresponds to the universe ID of that experience. |
| `Group` | 2 | Indicates that the associated [User](/docs/reference/engine/datatypes/User.md) ID is scoped to a specific group (community). The domain ID corresponds to the group ID. This item is not yet supported: [User](/docs/reference/engine/datatypes/User.md) values with this domain type can't be created. |
| `OAuth` | 3 | The user ID is scoped to a specific OAuth application. The domain ID is the application ID. |