Datasnap.DBClient.TGetUsernameEvent
Delphi
TGetUsernameEvent = procedure(Sender: TObject; var Username: string) of object;
C++
typedef void __fastcall (__closure *TGetUsernameEvent)(System::TObject* Sender, System::UnicodeString &Username);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| type typedef | public | Datasnap.DBClient.pas Datasnap.DBClient.hpp | Datasnap.DBClient | Datasnap.DBClient | 
Description
TGetUsernameEvent is the type for event handlers that supply the user name with which to initialize a remote login dialog.
Sender is the connection component that is logging in to a remote server.
Username returns the initial user name that should appear in the remote login dialog.