# EntraIdPermissionType

- Kind: `enum`
- Package: [Aspire.Hosting.Azure.EntraId](/reference/api/csharp/aspire.hosting.azure.entraid.md)
- Version: `17.0.0-preview.1.26567.5`
- Namespace: `Aspire.Hosting.Azure`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/EntraIdPermissionType.cs)

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

## Definition

```csharp
namespace Aspire.Hosting.Azure;

public enum EntraIdPermissionType
```

## Enum Members

| Name | Value | Description |
| --- | --- | --- |
| Delegated | 0 | A delegated permission (an OAuth 2.0 scope). The application calls the API on behalf of a signed-in user. |
| Application | 1 | An application permission (an app role of the API's service principal). The application calls the API as itself, with no user. |
