Cicode Programming Reference > Cicode Function Categories > Security Functions Introduction > 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.



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

FullName, Login, LoginForm


/* Display the user name of the current user at AN20. */

See Also

Security Functions