Description

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Description

mapp Services V5.16

The same MpLink used by MpUserLogin is used for this component as well.

This component represents a connection between a user login and a Visual Components 4 HMI application. Data is exchanged between MpUserLoginUI and the HMI application using structure MpUserLoginUIConnectType.

Only one MpUserLoginUI can be used per configuration. It is not possible to use multiple instances of MpUserLoginUI.

exampleloginui

MpUserLoginUIConnectType

Structure "UIConnect" is divided into the following areas:

Status: Parameter "Status" provides information about the current activity of user management.

CurrentUser, DisplayUnit, Language: Information about the currently logged in user and his preferred settings with regard to language and system of units

LoggedIn: Indicates whether a user is currently logged in

Login: A user can log in and out via structure MpUserLoginUILoginType.

ChangePassword: Structure MpUserLoginUIPwdType can be used to change the password.

MessageBox: The various dialog boxes for MpUser can be configured using structure MpUserUIMessageBoxType.

DefaultLayerStatus: The background layer can be locked for the duration that a dialog box is open using this data point.

Error numbers

If an error occurs during a login attempt since the password was specified incorrectly, for example, the error is displayed in message box structure MpUserUIMessageBoxType under "ErrorNumber". The following errors can occur:

24576: Invalid password

24577: Invalid configuration

24578: User already exists

24579: Invalid login token

24582: User group does not exist

24583: Password not strong enough

24584: User blocked

24585: Password change required

24586: Too many login attempts, login no longer possible

24589: No user logged in

24591: Identical passwords

24592: Username already exists

24597: User already logged in

24598: Missing value on UIConnect

24601: Missing MpUserLogin

24602: Confirmation password incorrect

24616: Password already used