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

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

When the Type Property is set to Role, the RoleType property is used to further define whether the RoleType is Local or Delegated.

Syntax

entitlement MyEntitlement
{
    ...
    Type = Role;                    // Entitlement type, if Role, then specify RoleType property
    RoleType = Delegated;
    ObjectEntitlements = 
        ”D365 BUS PREMIUM - BaseApp”;​
}

See Also

Get Started with AL
Developing Extensions
Type Property