Log onto the controls automatically
- Last UpdatedNov 26, 2024
- 1 minute read
You can configure the controls having an AutoLoginUser property to log a run time operator on the control automatically. If you set this property to True, at run time either the logon dialog box appears for the control, or the current InTouch user is logged on automatically. You can also set a fixed value in the LoginUserID and LoginUserPassword attributes for the control to logon the operator automatically.
Note: The LoginUserID and LoginUserPassword fields accept only hard-coded values and not references to the object attributes. Any fixed user settings for a .NET control should be a user with minimal privileges, especially when using MES OS User credentials.
When multiple MES controls are included in an InTouch window or OMI layout and at least one of the controls is configured with the AutoLoginUser property set to True, then all controls will be logged on with first the configured LoginUserID and LoginUserPassword settings or the currently logged‑in InTouch/OMI user.
If the AutoLoginUser property is set to False, you need to include a script to log on users to the controls. For more information, see the MES Stateful API Reference online help.
Log on the software controls automatically
-
Select the control for which you want to enable automatic logon.
-
In the Factelligence category of the Properties Editor, locate the AutoLoginUser property.
-
Set the value of the property to True.