# FoundryRole

- Module: [Aspire.Hosting.Foundry](/reference/api/typescript/aspire.hosting.foundry.md)
- Version: `13.6.5-preview.1.26559.7`
- Kind: `enum`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/b33d222049f1ecc3bc7257ec07b622fe550b2580)

Represents ATS-compatible Microsoft Foundry roles.

## Definition

```typescript
enum FoundryRole {
  CognitiveServicesOpenAIContributor = 0,
  CognitiveServicesOpenAIUser = 1,
  CognitiveServicesUser = 2,
}
```

## Values

- `CognitiveServicesOpenAIContributor` = `0`
- `CognitiveServicesOpenAIUser` = `1`
- `CognitiveServicesUser` = `2`
