Codeunit "Server Setting"
ID 6723
Namespace: System.Environment.Configuration
Exposes functionality to fetch some application server settings for the server which hosts the current tenant.
Properties
| Name | Value |
|---|---|
| Access | Public |
| SingleInstance | True |
| InherentEntitlements | X |
| InherentPermissions | X |
Methods
GetIsSaasExcelAddinEnabled
Checks whether Excel add-in is enabled on the server.
procedure GetIsSaasExcelAddinEnabled(): Boolean
Returns
| Type | Description |
|---|---|
| Boolean |
True if enabled; otherwise, false. |
Remarks
Gets the value of the server setting IsSaasExcelAddinEnabled.
GetEnableEntraGroupsOnPrem
Checks whether Entra Groups are enabled on-premises.
procedure GetEnableEntraGroupsOnPrem(): Boolean
Returns
| Type | Description |
|---|---|
| Boolean |
True if enabled; otherwise, false. |
Remarks
Gets the value of the server setting EnableEntraGroupsOnPrem.
GetUsePermissionSetsFromExtensions
Checks whether permissions are read from the permission table in SQL or from metadata (.al code)
procedure GetUsePermissionSetsFromExtensions(): Boolean
Returns
| Type | Description |
|---|---|
| Boolean |
True if enabled; otherwise, false. |
Remarks
Gets the value of the server setting UsePermissionSetsFromExtensions.
GetEnableMembershipEntitlement
Checks whether Entitlements are enabled
procedure GetEnableMembershipEntitlement(): Boolean
Returns
| Type | Description |
|---|---|
| Boolean |
True if enabled; otherwise false. |
Remarks
Gets the value of the server setting EnableMembershipEntitlement.