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 Description
Local The user is either a native user or a guest user in the company's AAD tenant, and that specific AAD role was assigned in the given AAD tenant.
Delegated The user has the given AAD role in the company's AAD tenant via a Delegated Admin relationship with a partner's AAD tenant.

Remarks

Note

In the current version of Business Central entitlements can only be included with Microsoft apps (enforced by the AppSource cop rules and the technical validation checks that we run for the apps submitted to AppSource). These objects will become available for the ISV apps when we introduce ability to monetize AppSource apps in one of our future releases. For more information, see Entitlement Object.

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