DbiDropPassword

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

DbiDropPassword

Return to chapter overview

C syntax

DBIResult DBIFN DbiDropPassword (pszPassword);

Delphi syntax

function DbiDropPassword (pszPassword: PChar): DBIResult stdcall;

Description

DbiDropPassword removes a password from the current session. This function is used by the Paradox driver only.

Parameters

pszPassword                Type: pCHAR                (Input)
Pointer to the password to be dropped. If NULL is specified, all passwords for the session are dropped.

Usage

This function removes the rights to access previously encrypted tables with that password; it does not cause tables to become decrypted.

DbiResult

Meaning

DBIERR_NONE

The password specified by pszPassword was successfully dropped.

DBIERR_INVALIDPASSWORD

The specified password is empty or too long.

DBIERR_OBJNOTFOUND

pszPassword was not found.

See also

DbiAddPassword