Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.11

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: 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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.