constants group Privilege in module com::sun::star::sdbcx::

(Global Index)

Syntax

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 Summary

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.

Field Details



SELECT

Syntax

const long  SELECT = 0x00000001;

Description

indicates that a user is allowed to read the data.


INSERT

Syntax

const long  INSERT = 0x00000002;

Description

indicates that a user is allowed to insert new data.


UPDATE

Syntax

const long  UPDATE = 0x00000004;

Description

indicates that a user is allowed to update data.


DELETE

Syntax

const long  DELETE = 0x00000008;

Description

indicates that a user is allowed to delete data.


READ

Syntax

const long  READ = 0x00000010;

Description

indicates that a user is allowed to read the structure of a definition object.


CREATE

Syntax

const long  CREATE = 0x00000020;

Description

indicates that a user is allowed to create a definition object.


ALTER

Syntax

const long  ALTER = 0x00000040;

Description

indicates that a user is allowed to alter an existing object.


REFERENCE

Syntax

const long  REFERENCE = 0x00000080;

Description

indicates that a user is allowed to set foreign keys for a table.


DROP

Syntax

const long  DROP = 0x00000100;

Description

indicates that a user is allowed to drop a definition object.

Top of Page