User account system variables

Several system variables are provided that contain information about the current User. These variables can be used in the HMI in the same way as any other.

The Auto column indicates if the variable is automatically created by PcVue or must be manually created by the developer as part of the application development.

Name

Type

Auto

Information provided

USER

Text

Auto

The account name of the User on the local station.

In the following variable names, for networked applications, <StationName> is substituted with the station name.

The x in USERx references the main or secondary user.

  • 1 is the main user. That is the user that has or is logged in.
  • 2 is the secondary user. That is the user that has provided the signature when a security animation requiring a double signature has been used, or when a signature has been provided to unlock a user.

Name

Type

Auto

Information provided

SYSTEM.<StationName>.USER

Text

Automatic

The account name of the user on station <StationName>.

SYSTEM.<StationName>.PROFILE

Text Automatic

The name of the profile for the user on station <StationName>.

SYSTEM.<StationName>.USER.NUMLOCKED

Register

Automatic The number of locked user accounts.

SYSTEM.<StationName>.USER.TRYLOGIN

Text

Automatic

The text that was entered in the name field of the failed login attempt. Only operational if the advanced security strategy is enabled.

SYSTEM.<StationName>.USER.REJECTED

Bit

Automatic

Set to 1 when there is a failed login attempt. Only operational if the advanced security strategy is enabled.

SYSTEM.<StationName>.USERx.COMMENT

Text

Manual

The comment field from the configuration of the user on station <StationName>.

SYSTEM.<StationName>.USERx.DISPLAYNAME Text Automatic Equivalent to the Windows user property when logged on using a Windows domain user.
SYSTEM.<StationName>.USERx.EMAILADDRESS Text Automatic The email address of the user on station <StationName>.

SYSTEM.<StationName>.USERx.FIRSTNAME

Text

Manual

The first name field from the configuration of the user on station <StationName>.

SYSTEM.<StationName>.USERx.LASTNAME

Text

Manual

The last name field from the configuration of the user on station <StationName>.

SYSTEM.<StationName>.USERx.FULLACCOUNTNAME Text

Automatic

The full account name of the user on station <StationName>.

SYSTEM.<StationName>.USERx.LOGIN

Text

Manual

The account name of the user on station <StationName>. Equivalent to SYSTEM.<StationName>.USER

SYSTEM.<StationName>.USERx.MOBILEPHONENUMBER Text

Automatic

The mobile phone number of the user on station <StationName>.

SYSTEM.<StationName>.USERx.PROFILE

Text

Manual

The profile field from the configuration of the user on station <StationName>. Equivalent to SYSTEM.<StationName>.PROFILE

SYSTEM.<StationName>.USERx.TITLE Text Automatic Equivalent to the Windows user property when logged on using a Windows domain user.
SYSTEM.<StationName>.USERx.ROLE Text Automatic Equivalent to the Windows user property when logged on using a Windows domain user.

SYSTEM.LOCALHOST.USER

Text Automatic The default user, often used as a fallback or during initial setups.

SYSTEM.LOCALHOST.PROFILE

Text Automatic The default profile, which defines the standard permissions and roles associated with the default user.

SYSTEM.LOCALHOST.USERx.COMMENT

Text Automatic

The comment field from the configuration of the User on the local station.

SYSTEM.LOCALHOST.USERx.DISPLAYNAME Text Automatic Equivalent to the Windows user property when logged on using a Windows domain user.
SYSTEM.LOCALHOST.USERx.EMAILADDRESS Text Automatic The email address of the user on the local station.

SYSTEM.LOCALHOST.USERx.FIRSTNAME

Text Automatic

The first name field from the configuration of the user on the local station.

SYSTEM.LOCALHOST.USERx.LASTNAME

Text Automatic

The last name field from the configuration of the user on the local station.

SYSTEM.LOCALHOST.USERx.FULLACCOUNTNAME Text Automatic The full account name of the user on the local station.

SYSTEM.LOCALHOST.USERx.LOGIN

Text Automatic

The account name of the user on the local station.

SYSTEM.LOCALHOST.USERx.MOBILEPHONENUMBER Text Automatic The mobile phone number of the user on the local station.

SYSTEM.LOCALHOST.USERx.PROFILE

Text Automatic

The profile field from the configuration of the user on the local station.

SYSTEM.LOCALHOST.USERx.TITLE Text Automatic Equivalent to the Windows user property when logged on using a Windows domain user.
SYSTEM.LOCALHOST.USERx.ROLE Text Automatic Equivalent to the Windows user property when logged on using a Windows domain user.