Codeunit 3701 Tenant Information Impl. in 27

App
System Application
Namespace
System.Environment

Procedures, 2

Versions171819202122232425262728latest

Source242526272829

Source in 27

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;
}

Procedures, 2

NameParametersReturnsAccessObsolete
GetTenantId()Textpublic-
GetTenantDisplayName()Textpublic-