Enforcing Access Rights to HMI Pages/HMI Objects
When security for HMI is enabled, the properties window of an HMI page / HMI object contains an additional category to set the access rights. Depending on the user role(s) and user levels of the logged in user, you can define whether an HMI page is available (visible) to the user and whether an HMI object is enabled and visible on the HMI page.
Note
The user roles used for defining the access rights rules are configured via the controller's Web Based Management (WBM). The EHmiLevel1...EHmiLevel10 user roles configured on the User Manager page in the controller's WBM are mapped to the user levels used to define the access rule in the HMI application (see the examples below). |
Clicking on a parameter setting in the category displays an input group box where you can define an expression that determines the access rule (in the following example, the 'Enable' parameter of an HMI object is selected). When the expression built by the combination of the three parameter settings evaluates to TRUE, the logged in user is granted access.
Examples