|
The SetOwner method is used to specify an owner name for a Pervasive PSQL table to restrict access to the table.
The following Security Level codes may be passed to SetOwner in the SecurityLevel parameter:
Constant declarations are included in the files GLOBAL.BAS (for 16 bit Visual Basic), GLOBAL.BAS (for Visual Basic), GLOBAL.PAS (for Delphi), and GLOBAL.H (for Visual C++). Include one of these files (whichever is appropriate for your development environment) in your project to use the Security Level constants in your application.
To remove the owner name from a Pervasive PSQL table, first open the table with the owner name, then issue a BTO_ClearOwner operation to the Btrv method.
This value will not affect the owner name used to access dictionary files. Use DdfSetOwner to change the owner name of a set of dictionary files.
OwnerName, DdfSetOwner, DdfTestOwnerName
|
Chapter contents
Prev topic: SetFileFlag
|