Codeunit 3701 Tenant Information Impl.

System Application, System.Environment

src/System Application/App/Environment Information/src/TenantInformationImpl.Codeunit.al31 lines, Copyright (c) Microsoft Corporation. MIT

// ------------------------------------------------------------------------------------------------// Copyright (c) Microsoft Corporation. All rights reserved.// Licensed under the MIT License. See License.txt in the project root for license information.// ------------------------------------------------------------------------------------------------namespace System.Environment;using System;codeunit 3701 "Tenant Information Impl."{    Access = Internal;    SingleInstance = true;    InherentEntitlements = X;    InherentPermissions = X;    var        NavTenantSettingsHelper: DotNet NavTenantSettingsHelper;    procedure GetTenantId() TenantIdValue: Text    begin        NavTenantSettingsHelper.TryGetStringTenantSetting('TENANTID', TenantIdValue);    end;    procedure GetTenantDisplayName() TenantNameValue: Text    begin        NavTenantSettingsHelper.TryGetStringTenantSetting('DISPLAYNAME', TenantNameValue);    end;}