Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: com :: sun :: star :: sdbcx ::
constants group Privilege
Description defines a list of flags (bitmaps) which determines the accessrights of a user or a user group. This list may grow in the future.

Constants
SELECT | indicates that a user is allowed to read the data.
INSERT | indicates that a user is allowed to insert new data.
UPDATE | indicates that a user is allowed to update data.
DELETE | indicates that a user is allowed to delete data.
READ | indicates that a user is allowed to read the structure of a definition object.
CREATE | indicates that a user is allowed to create a definition object.
ALTER | indicates that a user is allowed to alter an existing object.
REFERENCE | indicates that a user is allowed to set foreign keys for a table.
DROP | indicates that a user is allowed to drop a definition object.

Constants' Details
SELECT
const long SELECT = 0x00000001; Description indicates that a user is allowed to read the data.
INSERT
const long INSERT = 0x00000002; Description indicates that a user is allowed to insert new data.
UPDATE
const long UPDATE = 0x00000004; Description indicates that a user is allowed to update data.
DELETE
const long DELETE = 0x00000008; Description indicates that a user is allowed to delete data.
READ
const long READ = 0x00000010; Description indicates that a user is allowed to read the structure of a definition object.
CREATE
const long CREATE = 0x00000020; Description indicates that a user is allowed to create a definition object.
ALTER
const long ALTER = 0x00000040; Description indicates that a user is allowed to alter an existing object.
REFERENCE
const long REFERENCE = 0x00000080; Description indicates that a user is allowed to set foreign keys for a table.
DROP
const long DROP = 0x00000100; Description indicates that a user is allowed to drop a definition object.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.