SYSUSERAUTH catalog table

The SYSUSERAUTH table records the system privileges that are held by users. The schema is SYSIBM.

Column name Data type Description Use
GRANTOR
VARCHAR(128)
NOT NULL
Authorization ID of the user who granted the privileges. G
GRANTEE
VARCHAR(128)
NOT NULL
Authorization ID of the user that holds the privilege. Could also be PUBLIC for a grant to PUBLIC. G
CHAR(12)
NOT NULL
Internal use only. I
DATEGRANTED
CHAR(6)
NOT NULL
Not used. N
TIMEGRANTED
CHAR(8)
NOT NULL
Not used. N
GRANTEETYPE
CHAR(1)
NOT NULL
Not used. N
AUTHHOWGOT
CHAR(1)
NOT NULL
WITH DEFAULT
Authorization level of the user from whom the privileges were received. This authorization level is not necessarily the highest authorization level of the grantor.
blank
Not applicable. Start of changeAUTHHOWGOT is also blank when the privilege that is held is BINDAGENT.End of change
C
DBCTRL
D
DBADM
E
SECADM
G
ACCESSCTRL
K
SQLADM
L
SYSCTRL
M
DBMAINT
O
SYSOPR
S
SYSADM
G
ALTERBPAUTH
CHAR(1)
NOT NULL
Not used. N
BINDADDAUTH
CHAR(1)
NOT NULL
Whether the GRANTEE can use the BIND subcommand with the ADD option:
blank
Privilege is not held
G
Privilege is held with the GRANT option
Y
Privilege is held without the GRANT option
G
BSDSAUTH
CHAR(1)
NOT NULL
Whether the GRANTEE can issue the RECOVER BSDS command:
blank
Privilege is not held
G
Privilege is held with the GRANT option
Y
Privilege is held without the GRANT option
G
CREATEDBAAUTH
CHAR(1)
NOT NULL
Whether the GRANTEE can create databases and automatically receive DBADM authority over the new databases:
blank
Privilege is not held
G
Privilege is held with the GRANT option
Y
Privilege is held without the GRANT option
G
CREATEDBCAUTH
CHAR(1)
NOT NULL
Whether the GRANTEE can execute the CREATE DATABASE statement to create new databases and automatically receive DBCTRL authority over the new databases:
blank
Privilege is not held
G
Privilege is held with the GRANT option
Y
Privilege is held without the GRANT option
G
CREATESGAUTH
CHAR(1)
NOT NULL
Whether the GRANTEE can execute the CREATE STOGROUP statement to create new storage groups:
blank
Privilege is not held
G
Privilege is held with the GRANT option
Y
Privilege is held without the GRANT option
G
DISPLAYAUTH
CHAR(1)
NOT NULL
Whether the GRANTEE can use the DISPLAY commands:
blank
Privilege is not held
G
Privilege is held with the GRANT option
Y
Privilege is held without the GRANT option
G
RECOVERAUTH
CHAR(1)
NOT NULL
Whether the GRANTEE can use the RECOVER INDOUBT command:
blank
Privilege is not held
G
Privilege is held with the GRANT option
Y
Privilege is held without the GRANT option
G
STOPALLAUTH
CHAR(1)
NOT NULL
Whether the GRANTEE can use the STOP command:
blank
Privilege is not held
G
Privilege is held with the GRANT option
Y
Privilege is held without the GRANT option
G
STOSPACEAUTH
CHAR(1)
NOT NULL
Whether the GRANTEE can use the STOSPACE utility:
blank
Privilege is not held
G
Privilege is held with the GRANT option
Y
Privilege is held without the GRANT option
G
SYSADMAUTH
CHAR(1)
NOT NULL
Whether the GRANTEE has system administration authority:
blank
Privilege is not held
G
Privilege was granted with the GRANT option
Y
Privilege was granted without the GRANT option

GRANTEE has the privilege with the GRANT option for a value of either Y or G.

G
SYSOPRAUTH
CHAR(1)
NOT NULL
Whether the GRANTEE has system operator authority:
blank
Privilege is not held
G
Privilege is held with the GRANT option
Y
Privilege is held without the GRANT option
G
TRACEAUTH
CHAR(1)
NOT NULL
Whether the GRANTEE can issue the START TRACE and STOP TRACE commands:
blank
Privilege is not held
G
Privilege is held with the GRANT option
Y
Privilege is held without the GRANT option
G
IBMREQD
CHAR(1)
NOT NULL
A value of Y indicates that the row was provided with the Db2 product code. For all other values, see Release dependency indicators.

The value in this field is not a reliable indicator of release dependencies.

G
MON1AUTH
CHAR(1)
NOT NULL WITH
DEFAULT
Whether the GRANTEE can obtain IFC serviceability data:
blank
Privilege is not held
G
Privilege is held with the GRANT option
Y
Privilege is held without the GRANT option
G
MON2AUTH
CHAR(1)
NOT NULL WITH
DEFAULT
Whether the GRANTEE can obtain IFC data:
blank
Privilege is not held
G
Privilege is held with the GRANT option
Y
Privilege is held without the GRANT option
G
CREATEALIASAUTH
CHAR(1)
NOT NULL WITH
DEFAULT
Whether the GRANTEE can execute the CREATE ALIAS statement:
blank
Privilege is not held
G
Privilege held with the GRANT option
Y
Privilege held without the GRANT option
G
SYSCTRLAUTH
CHAR(1)
NOT NULL WITH
DEFAULT
Whether the GRANTEE has SYSCTRL authority:
blank
Privilege is not held
G
Privilege is held with the GRANT option
Y
Privilege is held without the GRANT option
GRANTEE has the privilege with the GRANT option for a value of either Y or G.
G
BINDAGENTAUTH
CHAR(1)
NOT NULL WITH
DEFAULT
Whether the GRANTEE has BINDAGENT privilege:
blank
Privilege is not held
G
Privilege is held with the GRANT option
Y
Privilege is held without the GRANT option
G
ARCHIVEAUTH
CHAR(1)
NOT NULL WITH
DEFAULT
Whether the GRANTEE is privileged to use the ARCHIVE LOG command:
blank
Privilege is not held
G
Privilege is held with the GRANT option
Y
Privilege is held without the GRANT option
G
CAPTURE1AUTH
CHAR(1)
NOT NULL WITH
DEFAULT
Not used. N
CAPTURE2AUTH
CHAR(1)
NOT NULL WITH
DEFAULT
Not used. N
GRANTEDTS
TIMESTAMP
NOT NULL WITH
DEFAULT
Time when the GRANT statement was executed. The value is '1985-04-01.00.00.00.000000' for the one installation row. G
CREATETMTABAUTH
CHAR(1)
NOT NULL WITH
DEFAULT
Whether the GRANTEE has CREATETMTABAUTH privilege:
blank
Privilege is not held
G
Privilege is held with the GRANT option
Y
Privilege is held without the GRANT option
G
GRANTEETYPE
CHAR(1)
NOT NULL WITH
DEFAULT
Indicates the type of grantee:
blank
Authorization ID
L
Role
G
GRANTORTYPE
CHAR(1)
NOT NULL WITH
DEFAULT
Indicates the type of grantor:
blank
Authorization ID
L
Role
G
DEBUGSESSIONAUTH
CHAR(1)
NOT NULL WITH
DEFAULT
Whether the GRANTEE has DEBUGSESSION privilege:
blank
Privilege is not held
G
Privilege is held with the GRANT option
Y
Privilege is held without the GRANT option
G
EXPLAINAUTH
CHAR(1)
NOT NULL
WITH DEFAULT
Whether the GRANTEE can explain and prepare statements:
blank
Privilege is not held
G
Privilege is held with the GRANT option
Y
Privilege is held without the GRANT option
G
SQLADMAUTH
CHAR(1)
NOT NULL
WITH DEFAULT
Whether the GRANTEE has SQLADM authority:
blank
Privilege is not held
G
Privilege is held with the GRANT option
Y
Privilege is held without the GRANT option
G
SDBADMAUTH
CHAR(1)
NOT NULL
WITH DEFAULT
Whether the GRANTEE has system DBADM authority:
blank
Privilege is not held
Y
Privilege is held without the GRANT option
G
DATAACCESSAUTH
CHAR(1)
NOT NULL
WITH DEFAULT
Whether the GRANTEE has DATAACCESS authority:
blank
Privilege is not held
Y
Privilege is held without the GRANT option
G
ACCESSCTRLAUTH
CHAR(1)
NOT NULL
WITH DEFAULT
Whether the GRANTEE has ACCESSCTRL authority:
blank
Privilege is not held
Y
Privilege is held without the GRANT option
G
CREATESECUREAUTH
CHAR(1)
NOT NULL
WITH DEFAULT
Whether the GRANTEE can create secured objects (triggers and user-defined functions):
blank
Privilege is not held
Y
Privilege is held without the GRANT option
G
Start of changeSYS_STARTEnd of change Start of change
TIMESTAMP(12)
NOT NULL
GENERATED ALWAYS
AS ROW BEGIN
End of change
Start of changeReserved for future IBM® use.The row-begin column of the SYSTEM_TIME period, for system-period data versioning.End of change Start of changeGEnd of change
Start of changeSYS_ENDEnd of change Start of change
TIMESTAMP(12)
NOT NULL
GENERATED ALWAYS
AS ROW END
End of change
Start of changeReserved for future IBM use.The row-end column of the SYSTEM_TIME period, for system-period data versioning.End of change Start of changeGEnd of change
Start of changeTRANS_STARTEnd of change Start of change
TIMESTAMP(12)
NOT NULL
GENERATED ALWAYS
AS TRANSACTION
START ID
End of change
Start of changeReserved for future IBM use. End of change Start of changeGEnd of change