Data.DB.RemoteLoginDialogProc

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

RemoteLoginDialogProc: function (var AUserName, APassword: string): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall (*RemoteLoginDialogProc)(System::UnicodeString &AUserName, System::UnicodeString &APassword);

Properties

Type Visibility Source Unit Parent
variable public
Data.DB.pas
Data.DB.hpp
Data.DB Data.DB

Description

Set this variable to specify a method that will provide login information.

Set the RemoteLoginDialogProc variable to specify a method that will provide login information.

For example, the Vcl.DBLogDlg unit sets this variable to a method that displays a dialog box to prompt for user name and password. If assigned, TDispatchConnection.SetConnected may call the RemoteLoginDialogProc method to get the user credentials.

See Also