Sign in Join
FPDoc Onlineexperiment

TLoginEvent procedure type

In unit DB

Login event handler.

Declaration

pascal
TLoginEvent = procedure(Sender: TObject; Username: string; 
 Password: string) of object

Arguments

SenderTCustomConnection that is attempting a login.
Username

Username used to log in.

Password

Password used to log in.

Description

TLoginEvent is the prototype for the OnLogin event handler. It gets passed the TCustomConnection instance that is trying to login, and the initial username and password.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.