RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSession.RemovePassword Method

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

Pascal
procedure RemovePassword(const Password: string);
C++
__fastcall RemovePassword(const AnsiString Password);

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");

 

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