Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 1.3 KB

session-getexecutioncontext-method.md

File metadata and controls

40 lines (32 loc) · 1.3 KB
title description ms.author ms.date ms.topic author ms.reviewer
Session.GetExecutionContext() Method
Gets the current session's execution context.
solsen
05/14/2024
reference
SusanneWindfeldPedersen
solsen

Session.GetExecutionContext() Method

Version: Available or changed with runtime version 1.0.

Gets the current session's execution context.

Syntax

ExecutionContext :=   Session.GetExecutionContext()

Note

This method can be invoked without specifying the data type name.

Return Value

ExecutionContext
 Type: ExecutionContext
The current session's execution context.

Remarks

For an example of when and how to run the GetExecutionContext method, see Protecting sensitive code from running during upgrade.

See Also

Session Data Type
Get Started with AL
Developing Extensions