KB-30056: Displaying a message when the login is incorrect.

Question:

How can I display a message when the login is incorrect?

Solution:

To do so, you must use a script that tests if the Application’s useName attribute contains any user. In case it doesn’t, the error message must then be displayed via  MessageBox command.

Example of script performed at the button’s OnPress() event:

Application.Logout()
Application.Login()

IF Application.userName <> “”
    MessageBox(“Login performed successfully!”)
ELSE
    MessageBox(“Login incorrect!!!”)
ENDIF

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

,

Deixe seu Comentário

Seu endereço de e-mail não será publicado. Campos marcados com asterisco são obrigatórios *