In the user management dialogs, you define the login, logout, changing of the user password, and editing of the user management in the visualization at runtime.
If you create your own dialog as a user management dialog, then you should use the visualizations from the included library project VisuUserMgmtDialogs.library
as the basis, because it uses the required interfaces. Your own user management dialog is listed then in , Settings for User Management dialogs.
Requirement: The library project VisuUserMgmtDialogs.library
exists in the installation directory.
Click
.
Select the project VisuUserMgmtDialogs.library
from the Projects
folder of the installation directory.
Click
.⇒ In the POUs view, the project is displayed with the visualizations UserMgmtChangePassword, UserMgmtConfig, and UserMgmtChangePassword.
Double-click a visualization (example: UserMgmtLogin).
Change the visualization as you like and save the project.
Then, reinstall the library and add it to the Library Manager of your application.
A user management already exists in your application in the Visualization Manager object (User Management tab).
The VisuUserManagement library is in the library manager.
Click the Visualization Manager object in the device tree.
Click the Settings tab.
In Settings for User Management Dialogs, select the dialogs for Login dialog, Change password dialog, and Change configuration dialog.
NoteIf no entries can be seen in Settings for User Management Dialogs in the dialog lists, then close the Visualization Manager and reopen it.
Requirement: A visualization is open.
Drag a Button element from the Toolbox view (Common controls) to the visualization.
Click the Input configuration node in the Properties view.
Click Configure in the property .
Click User management and in the Input Configuration dialog.
⇒ The following Dialogs and actions are listed on the right: Login, Logout, Change user password, and Open user management.
Select the dialog or action to assign to the button and click OK.
⇒ When the button is clicked at runtime, the selected dialog opens or the selected action is executed.
If you want to open and edit the user management in the visualization at runtime, you must be a member of a group that has the Permission to Change User Data.
See also