Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

FullName

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets the full name of the user who is currently logged on to the system. The user can be a Plant SCADA or a Windows user. For a Plant SCADA user the full name is the one defined in the user settings. For a Windows user the full name is in the format of <DomainName>\<UserName>. When there is no one logged in or the logged in user is a "system user" this function returns an empty string.

Syntax

FullName()

If the user is logged on as a Domain user the name should be the Windows domain name and user account name in the format of <DomainName\UserName>.

If the user is logged on as a local user the name should be the local machine name and user account name in the format of <MachineName\UserName>.

Return Value

The user name (as a string).

NameUserInfo

Example

/* Display the full name of the current user at AN20. */
DspText(20, 0, FullName());

See Also

Security Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in