Database.SessionId() Method

Version: Available or changed with runtime version 1.0.

Gets the ID of the current session.

Syntax

ID :=   Database.SessionId()

Note

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

Return Value

ID
 Type: Integer
The ID of the current session.

Database Data Type
Get Started with AL
Developing Extensions