Datasnap.DBClient.TGetUsernameEvent

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
type
typedef
Visibility: public
Source:
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Unit: Datasnap.DBClient
Parent: Datasnap.DBClient

Delphi

TGetUsernameEvent = procedure(Sender: TObject; var Username: string) of object;

C++

typedef void __fastcall (__closure *TGetUsernameEvent)(System::TObject* Sender, System::UnicodeString &Username);

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.

See Also