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 access rights 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 © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.