User management

The user management is used to manage the visibility and operability of visualization elements on a user-specific basis. Switching of visualizations can also be configured on a user-specific basis. The users are organized in groups.

User management 1:

The user management can only be used in combination with the PLC HMI or the PLC HMI Web.

First step

First you need to create unique groups and users. Open the "User management" tab in the visualization manager editor. If no user management is configured yet, the following dialog is available:

User management 2:

Create empty user management

The user management opens. The group None is created.

Create user management with default groups and users

The user management opens. The following groups and users are created:

  • group Admin with user Admin
  • group Service with user Service
  • group Operator with user Operator
  • group None

Programming the visualization

1. Configure your user management by defining Groups and Users.
2. Integrate the dialogs provided by the library "VisuUserManagement" in your visualization by programming elements with Input configuration. A defined event triggers a dialog with a pre-programmed input configuration. You can program your own dialogs.
User management 3:
3. Program the visualization elements by setting the property "Access rights" in the "Property" View. The behavior is then group-dependent.
User management 4:The elements with limited rights are highlighted in the element list.
User management 5:

CSV file with user management data

The user management data are stored as a CSV file in the following format:

ID;group name;automatic logoff TRUE/FALSE;logoff time;unit logoff time;permission to change user data TRUE/FALSE
login name;full name;password encrypt TRUE/FALSE;password;group ID;user deactivated TRUE/ FALSE

Use this format to edit the user management data with any tool of your choice. If "password encrypt" is set to FALSE, an unencrypted password can be entered, as shown for user "Hugo" in the example. After an import the password is immediately encrypted.

Sample:

V1.0.0.1
Usergroups:
1;Admin;TRUE;1;Minute;TRUE
2;Service;FALSE;5;Minute;FALSE
3;Operator;FALSE;1;Minute;FALSE
0;None;FALSE;1;Minute;FALSE
User:
HansM;Hans Mayer;TRUE;F9307D9940B6F7D78320E7E008377593;1;FALSE;administrator
PeterS;Peter Schmidt;TRUE;C5972629BF18E0E82D06FFF29B5BADFF;2|3;FALSE;team leader 1
UllaM;Ulla Müller;TRUE;569D35AC3272623AECDDCA021916C2AB;2|3;FALSE;team leader 2
ElkeF;Elke Fischer;TRUE;C634F54AF9343142159FE0435D93929D;3;FALSE;operator team 1
PaulK;Koch;TRUE;01E2CBD4AE5442D9EACE33669549A3CC;3;FALSE;operator team 2