Codeunit 4030 Client Type Management

System Application, System.Environment

Source AL, 35 lines

src/System Application/App/Client Type Management/src/ClientTypeManagement.Codeunit.allines 11 to 26 of 35, Copyright (c) Microsoft Corporation. MIT

codeunit 4030 "Client Type Management"{    Access = Public;    SingleInstance = true;    InherentEntitlements = X;    InherentPermissions = X;    var        ClientTypeMgtImpl: Codeunit "Client Type Mgt. Impl.";    /// <summary>Gets the current type of the client being used by the caller, e.g. Phone, Web, Tablet etc.</summary>    /// <remarks> Use the GetCurrentClientType wrapper method when you want to test a flow on a different type of client.</remarks>    /// <example>Example    /// <code>    /// IF ClientTypeManagement.GetCurrentClientType IN [CLIENTTYPE::xxx, CLIENTTYPE::yyy] THEN    /// </code>

All 35 lines

Public procedures 1 in 29

GetCurrentClientType(): ClientType17-29