Data.DB.IDBSession.AddPassword

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AddPassword(const APassword: string);

C++

virtual void __fastcall AddPassword(const System::UnicodeString APassword) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Data.DB.pas
Data.DB.hpp
Data.DB IDBSession

Description

Logs in to the session using a specified password.

Call AddPassword to supply a password to a session. After calling AddPassword, the application can open any tables or databases protected by that password from within the session until the RemovePassword or RemoveAllPasswords method retracts the password. If the password-protected table is closed, it can be reopened without resupplying the password.

APassword is the password to supply.

See Also