Please enable JavaScript to view this site.

Navigation: Advanced topics > Events > Global events > Login page

Events.After unsuccessful login

Scroll Prev Next More

Description

The AfterUnsuccessfulLogin event is executed on the Login page if the user have failed authentication.

Syntax

AfterUnsuccessfulLogin(username,password,message,pageObject)

Arguments

username

a user-entered login name.

password

a user-entered password.

message

a place the message to be displayed into this variable.

pageObject

an object representing the current page. For more information, see RunnerPage class.

Applies to pages

Login.

Recommended predefined actions and sample events:

Send a simple email

Insert a record into another table

Check to see if a specific record exists

Display a message on the Web page

Redirect to another page

See also:

Security API: checkUsernamePassword

After successful login

Before Login

Audit and record locking