Trusted context privileges
Resources: Trusted contexts
Resource type: N
Db2 privileges
ALTER TRUSTED CONTEXT
XAPLPRIV value: ALTERAUTN
Privcode 61 (x'3D')
The user must have sufficient authority to:
| One of these resources: | In class: |
|---|---|
| Db2-subsystem.SYSADM Bypass if Separate Security = Yes |
DSNADM |
| Db2-subsystem.SECADM | DSNADM |
COMMENT ON TRUSTED CONTEXT
XAPLPRIV value: COMNTAUTN
Privcode 97 (x'61')
Does the user or the role associated with the user own the trusted context?
If so, XAPLUPRM must match the owner name passed from Db2 by the XAPLOWNR parameter when XAPLONRT indicates an authorization ID, or XAPLUCHK must match XAPLOWNR and XAPLUCKT must match XAPLONRT.
If not, the user must have sufficient authority to:
| One of these resources: | In class: |
|---|---|
| Db2-subsystem.SYSCTRL Bypass if Separate Security = Yes |
DSNADM |
| Db2-subsystem.SYSADM Bypass if Separate Security = Yes |
DSNADM |
| Db2-subsystem.SECADM | DSNADM |
CREATE TRUSTED CONTEXT
XAPLPRIV value: CREATAUTN
Privcode 271 (x'10F')
The user must have sufficient authority to:
| One of these resources: | In class: |
|---|---|
| Db2-subsystem.SYSADM Bypass if Separate Security = Yes |
DSNADM |
| Db2-subsystem.SECADM | DSNADM |
DROP TRUSTED CONTEXT
XAPLPRIV value: DROPAUTN
Privcode 73 (x'49')
Does the user or the role associated with the user own the trusted context?
If so, XAPLUPRM must match the owner name passed from Db2 by the XAPLOWNR parameter when XAPLONRT indicates an authorization ID, or XAPLUCHK must match XAPLOWNR and XAPLUCKT must match XAPLONRT.
If not, the user must have sufficient authority to:
| One of these resources: | In class: |
|---|---|
| Db2-subsystem.SYSCTRL Bypass if Separate Security = Yes |
DSNADM |
| Db2-subsystem.SYSADM Bypass if Separate Security = Yes |
DSNADM |
| Db2-subsystem.SECADM | DSNADM |