Codeunit 9177 Application Area Cache

Base Application, System.Environment.Configuration

Source AL, 157 lines

src/Layers/W1/BaseApp/Modules/System/ApplicationArea/ApplicationAreaCache.Codeunit.allines 5 to 20 of 157, Copyright (c) Microsoft Corporation. MIT

codeunit 9177 "Application Area Cache"{    SingleInstance = true;    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    Permissions = tabledata "Application Area Setup" = r;    var        ApplicationAreaCache: Dictionary of [Text, Text];    procedure GetApplicationAreasForUser(var ApplicationAreas: Text): Boolean    begin        if not ApplicationAreaCache.ContainsKey('User:' + UserId()) then            PopulateCacheForUser();

All 157 lines

Public procedures 4 in 29

GetApplicationAreasForUser(var ApplicationAreas: Text): Boolean17-29
GetApplicationAreasForProfile(var ApplicationAreas: Text): Boolean17-29
GetApplicationAreasForCompany(var ApplicationAreas: Text): Boolean17-29
GetApplicationAreasCrossCompany(var ApplicationAreas: Text): Boolean17-29

All 6 procedures in 17-29