Codeunit 4313 Agent Session Impl.

System Application, System.Agents

Source AL, 45 lines

src/System Application/App/Agent/Interaction/Internal/AgentSessionImpl.Codeunit.allines 8 to 23 of 45, Copyright (c) Microsoft Corporation. MIT

codeunit 4313 "Agent Session Impl."{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    procedure IsAgentSession(var ActiveAgentMetadataProvider: Enum "Agent Metadata Provider"): Boolean    var        AgentType: Integer;        AgentALFunctions: DotNet AgentALFunctions;    begin        if not GuiAllowed() then            exit(false);        AgentType := AgentALFunctions.GetSessionAgentMetadataProviderType();        if AgentType < 0 then

All 45 lines

Public procedures 3 in 26

IsAgentSession(var ActiveAgentMetadataProvider: Enum "Agent Metadata Provider"): Boolean26 to 26
BlockPageFromBeingOpenedByAgent()26 to 26
GetCurrentSessionAgentTaskId(): Integer26 to 26