(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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

Copyright & License | Privacy | Contact Us

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

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.