# EntraIdPermissionType

- Module: [Aspire.Hosting.Azure.EntraId](/reference/api/go/aspire.hosting.azure.entraid.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `enum`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

The kind of permission that an application requests from an API.

## Definition

```go
type EntraIdPermissionType string

const (
    EntraIdPermissionTypeDelegated   EntraIdPermissionType = "Delegated"
    EntraIdPermissionTypeApplication EntraIdPermissionType = "Application"
)
```

## Values

- `EntraIdPermissionTypeDelegated` = `"Delegated"` -- A delegated permission (an OAuth 2.0 scope). The application calls the API on behalf of a signed-in user.
- `EntraIdPermissionTypeApplication` = `"Application"` -- An application permission (an app role of the API's service principal). The application calls the API as itself, with no user.
