Update cookies preferences
Promotic

Example of administrative user management

The example allows the runtime user management and is created from the Preconfiguration "Runtime users management" application objects preconfigurations.

- This example is functional for the Web.
- Located in the Pma object tree: /Examples/PreCfg/AdminUsers.
- In order to run this example it is necessary that the user is logged in as ADMIN (without a password).


In the AdminUsers main panel, there is a table containing the user list and function buttons, that can be used in order to add, delete, edit or change password of the user. The panel contains methods that are called from the panel and execute the desired actions. The user values and settings are saved into the users.csv file in the Data folder of the application by means of the SaveUsers designer method.
 
Adding users into the running application is solved in the InitUsers designer method. This method is called always after the "SaveUsers" method, but it must also be called right at application launch (in the onAppStartEnd event).
This kind of user management cannot display or edit users created in the development environment (saved into *.pra or *.ini).
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.