GetLastESignUser
- Last UpdatedOct 29, 2026
- 1 minute read
GetLastESignUser is a built-in function that gets the last user who electronically signed an event during run time.
|
Function |
Group |
Execution |
String Exp. |
Windows |
Windows Embedded |
IoT View |
Thin Clients |
Mobile Access |
|---|---|---|---|---|---|---|---|---|
|
GetLastESignUser |
Security |
Synchronous |
Yes |
Supported |
Supported |
Not supported |
Supported |
Supported |
Syntax
GetLastESignUser()
GetLastESignUser ( )
This function has no parameters.
Return value
This function returns (as a string) the name of the last user who electronically signed an event during run time. (Such events are generated when the user uses a screen object that has the E-Sign option selected or triggers a script that calls the function CheckESign. For more information, see Events.) If the user failed to provide a valid username and password, or if the user clicked Cancel to exit the E-Sign dialog box, this function returns an empty string ("").
Notes
This function gets the last user on the client where the function is executed. If the function is executed on the project runtime server, it gets the last user of the server's local Viewer.