Skip to main content
Version: 24.2 (stable)

Define HMI User Roles

In the previous step you've learned how to add and authenticate users. However if you would like to adjust your HMI to different user roles or personas, we need to have a look another tool that HELIO provides: User Roles. Because in HELIO restrictions to data, pages or elements can only be applied to Roles, not Users.


  1. Navigate to the HMI Users View of the Project Editor

By default the Administrator User Role is added automatically to each project:

  1. Add a new role

Select the Roles item in the Project Explorer and use the Add action to define a new Role within your project using the following settings:

  • The Role ID is a unique identifier of this group. It cannot be changed later and has to be unique.
  • The Display name might get used within the HMI. It could be displayed in the header cell we've added in the previous step.

This results in the following Role definition:

Note that we do not give Operators the permissions to Manage users. This privilege should by limited to administrators only.

  1. Apply the new Role to our first User

Now we can apply the roles to Alice - the already exiting user Alice.

  1. Add and additional Administrator user

Let's create an additional user Bob that we will define as admin. By assigning him to both roles, he'll be able to see all the parts of the HMI even those that are just limited to Operators:

  1. Save your project

Do not forget to save the project! Once this is done the users we've defined will be created for us when the project is first deployed on a target device.

  1. Remember to save and sync new users to the runtime

However, there is one more thing left to do! Our user Bob has been defined as an initial user in our project. But our Runtime database was already created when we tested the sign-in flow using Alice. As a result, Bob hasn't been created in our Runtime yet.

Fortunately, this isn't a significant issue. Simply click Overwrite Runtime HMI Users and confirm the resulting dialog to reset the user database and reinitialize the all initial users.


Mission accomplished!