Returns the id of the current thread’s user.
Syntax
getCurrentUserId()
Arguments
none
Return type
number
Examples
number id = getCurrentUserId();
Availability
Version 4.8