The <LoginConfig> subsection within the <AppConfig> main section is required if security is enabled and the Login screen is to be displayed to the user. This section specifies the following parameters: Parameter Name | Value |
---|
AllowGuest | This Boolean flag indicates whether or not users are allowed to login as a guest. | RequireUserIDForGuest | This Boolean flag indicates whether or not a user must provide a username and domain in order to login as a guest. Though the authenticity of the provided user name and domain are not verified, this feature may be desired for logging events within the HMI application. | PreloadUserID | This Boolean flag indicates whether or not the username and domain fields should be preloaded with the username and domain of the currently logged in Windows user. Note: for web-based HMI applications, this feature will only work if Anonymous access to the virtual web application is disabled. | AllowAssumedAuthenticated | This Boolean flag indicates whether or not a password must be specified if the username and domain match those of the currently logged in Windows user. This flag can be used in conjunction with the PreloadUserID flag so that the user needs only to click the Login button in order to log in as himself. | SessionTimeout | This integer value indicates the maximum amount of time (in minutes) that a session can remain idle before it is considered timed out. Once a session has timed out the user must re-login before he can regain access to the HMI application. | PasswordExpirationNotice | This integer value is used to automatically present a form to allow the user to change his password. Upon login this form will be displayed if the number of days until the logged in user’s password expires is less than or equal to this value (expressed in days). | BackColor | This is the background color of the Login screen. | TitleColor | This is the font color of the Login screen title. | ForeColor | This is the font color for all other text on the Login screen. | ErrorColor | This is the font color of any errors displayed to the user during the login process. | DisplayLanguages | This flag indicates whether or not the user will be presented with a dropdown box to select the desired language. |
In addition to the above parameters, the <LoginConfig> node should also contain a <Languages> subnode for specifying custom strings (such as the Login screen title) based on currently selected language. Indeed, it is this subnode that specifies the list of languages presented to the user if the DisplayLanguages parameter above is set to True. Each of the child nodes listed in the <Languages> subnode corresponds to a separate language available to the HMI system. Each language in this table is keyed according to the culture with which the language is specified; consequently, the table key |