Providing login

helps select table of contents previous Oben next german version

User ManagementProviding log-outProviding login

 

The first step for providing a user management for the Operator interfaces is the creation of a page for the user login. At its plainest, this page has two input fields for the name of the user and the password, plus a button to execute the login. The example of a User management we used has an input screen created for optical reasons.

 

Click here to display / hide the image.Image, Input screen:

Image of the input screen

Input screen with fields and button

Pct_LoginMaske

Pct_LoginMaske2

 

We wanted to create a multi-lingual log-in. As a first step, we created the required languages under " System > Languages " in the Object Explorer. cicon2 Sprachen angelegt. For the titles of the dialogue, the fields and the button we used a text list each BtnSymb_Textliste instead of a text object, since a text list provides the option of cicon2 defining a text for each language for a text input, and this can then be selected via a global variable.

 

Click here to display / hide the image.Example, Dialogue text field dialogue title:

DlgGrp_DlgTitleTextlist

 

For creating texts in various languages, select the first text and, under "Languages" the language to be entered. Enter the text of that language in the "Text" field.

 

Proceed as follows:

Create the text lists for the individual objects with the required languages. In our example these would be for the title of the dialogue, the input fields and the log-in button.

Position them at the appropriate place in the input screen.

Create an input field for the user name Btn_Eingabefeld and, in the "Variable" group field, allocate to it the variable whioch you have defined in the "Base" register cicon2 of the user management in the "User name:" parameter.

 

Click here to display / hide the image.Illustration, Dialogue input field user name

Dlg_InpFieldUsrName

 

Create an input field for the password and allocate to it the variable which you have defined in the "Base" register of the user management in the "Password" parameter.

 

Click here to display / hide the image.Illustration, Dialogue input field password:

Dlg_InpFieldUsrPw

 

 

Create a touch field Btn_Touchfield for calling up the log-in.

In the "Graphics list" register, allocate the required graphics to this touch field. 1. graphic for the normal state, 2. graphic for the pressed state.

 

Click here to display / hide the image.Illustration, Dialogue touchfield graphics list

Dlg_TouchFieldGrafikliste

 

In the touch field dialogue, change to the "Functions" register. Set the "Login" function.

If you want the cicon2 Login to immediately call up a page, also set the "Page selection" function.

 

Click here to display / hide the image.Illustration, Dialogue touchfield functions

Dlg_TouchFieldFunktion

 

Save this page.

 

Hinweis

The "Login" function only checks whether user and password are valid and sets the corresponding variables.

 

 

See also:

Kapitelseite User management

Kapitelseite Access authority

Kapitelseite Creating users

Kapitelseite How to, create a text list

Kapitelseite How to, create a touch field

Kapitelseite Login function

 

 

<< return