Bde.DBTables.TSession.RemovePassword

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Bde.DBTables.pas
Bde.DBTables.hpp
Unit: Bde.DBTables
Parent: TSession

Delphi

procedure RemovePassword(const Password: string);

C++

void __fastcall RemovePassword(const System::UnicodeString Password);

Description

Deletes a single password previously added to the current session for accessing an encrypted Paradox table.

Call RemovePassword to delete a single Paradox table password associated with the current session from the Borland Database Engine (BDE) persistent store. Subsequent attempts to access the encrypted Paradox table fails unless an application first calls AddPassword to reestablish a password.


Session.AddPassword('secret');
Session.RemovePassword('secret');


Session->AddPassword("secret");
Session->RemovePassword("secret");


See Also