currentUser()
Returns the user currently logged on to the system in whose context the running script is executed. The result is not a contact (Contacts:PersonContact) but the actual application access (tl.legacy.tabletypes:PersonTable).
Type: tl.legacy.tabletypes:PersonTable
The user currently logged in.