# RoleType Property
> Version: _Available or changed with runtime version 7.0._
If the entitlement type is Role, the RoleType is used to distinguish between local and delegated assignments of the role.
## Applies to
 Entitlement
## Property value
Value|Available or changed with|Description
Local|runtime version 7.0|The user is either a native user or a guest user in the company's Microsoft Entra tenant, and that specific Microsoft Entra role was assigned in the given Microsoft Entra tenant.
Delegated|runtime version 7.0|The user has the given Microsoft Entra role in the company's Microsoft Entra tenant via a Delegated Admin relationship with a partner's Microsoft Entra tenant.
## Remarks
When the devenv-type-property is set to Role, the RoleType property is used to further define whether the RoleType is Local or Delegated.
## Syntax
```al
entitlement MyEntitlement
{
    ...
    Type = Role;                    // Entitlement type, if Role, then specify RoleType property
    RoleType = Delegated;
    ObjectEntitlements =
        ”D365 BUS PREMIUM - BaseApp”;​
}
```
## Related information
Get Started with AL<../devenv-get-started>
Developing Extensions<../devenv-dev-overview>
devenv-type-property

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-roletype-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-roletype-property/
