Name
Gets the name of the operator who is currently logged on to the display system. The user can be a Citect or a windows user.If this function is called on a server, it returns the name of the local operator. If there is no one logged on, or the logged on user is a "system user" this function returns an empty string.
Syntax
Name()
Return Value
The name of the user as a string. If the user is logged on as a Windows user the name will be the Windows user account name.
Related Functions
Example
/* Display the user name of the current user at AN20. */
DspText(20,0,Name());
See Also