RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IDBSession.AddPassword Method

Logs in to the session using a specified password.

Pascal
procedure AddPassword(const APassword: string);
C++
__fastcall AddPassword(const AnsiString APassword);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!