# zone.stratos.identity.resolveEnrollments

> Published by [lexicon.northsky.app](https://lexicon.garden/identity/did:plc:6uxgo3ypovauub7nblwylqyv)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:6uxgo3ypovauub7nblwylqyv/zone.stratos.identity.resolveEnrollments)
- [Documentation](https://lexicon.garden/lexicon/did:plc:6uxgo3ypovauub7nblwylqyv/zone.stratos.identity.resolveEnrollments/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:6uxgo3ypovauub7nblwylqyv/zone.stratos.identity.resolveEnrollments/examples)

## Definitions

### `zone.stratos.identity.resolveEnrollments`

**Type**: `query`

Resolve enrollment boundaries for a DID. Returns the boundary domains the user is enrolled in.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes | The DID to resolve enrollment boundaries for. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |
| `enrolled` | `boolean` | Yes | Whether the DID is enrolled in this Stratos service. |
| `boundaries` | `array` | Yes | Boundary domains the user is enrolled in. Empty if not enrolled. |

## Raw Schema

```json
{
  "id": "zone.stratos.identity.resolveEnrollments",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "did",
            "enrolled",
            "boundaries"
          ],
          "properties": {
            "did": {
              "type": "string",
              "format": "did"
            },
            "enrolled": {
              "type": "boolean",
              "description": "Whether the DID is enrolled in this Stratos service."
            },
            "boundaries": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "Boundary domains the user is enrolled in. Empty if not enrolled."
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "did"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did",
            "description": "The DID to resolve enrollment boundaries for."
          }
        }
      },
      "description": "Resolve enrollment boundaries for a DID. Returns the boundary domains the user is enrolled in."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
