Database.UserSecurityId() Method

Version: Available or changed with runtime version 1.0.

Gets the unique identifier of the user that is logged on to the current session.

Syntax

USID :=   Database.UserSecurityId()

Note

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

Return Value

USID
 Type: Guid
The ID that is assigned to the user by the application. This is the value of the User Security ID field in table 2000000120, the User table, for the current user.

Database Data Type
Get Started with AL
Developing Extensions