PRIVILEGES System Table Description
Fields
Field | Type | Description |
---|---|---|
HOLDERTYPE |
integer |
Indicates the type of the owner of this privilege:
Typically this is 3 or 4 for user or role. |
HOLDERSCHEMA |
varchar(128) |
Null for user holders, but role holders will be associated with a schema. |
HOLDERNAME |
varchar(128) |
The name of the owner of this privilege. For example, if the owner type is user, this is the user name. |
OBJECTTYPE |
integer |
Indicates the type of the object on which the privilege is placed.
|
OBJECTSCHEMA |
varchar(128) |
Name of schema owning the object to which the privilege is granted. |
OBJECTNAME |
varchar(128) |
Name of object to which the privilege is granted. |
PRIVILEGEMASK |
integer |
Specifies the privilege granted to the object specified by
A value of -1 means that all privileges are granted and is set when the holder is the owner of an object. |