Setting the Db2 Effective Trusted Context User From a Procedure

A Db2 trusted context enables the connected WebFOCUS user ID to be used for database interactions instead of the authenticated user ID for the connection. Use the following command to set the trusted context user ID in a WebFOCUS procedure.

ENGINE DB2 SET TRUSTED_USERID conname /tcuser,tcpass

where:

conname

Is the connection name for the trusted context. This connection must be the active connection for the server when the SET TRUSTED_USERID command is issued.

tcuser

Is the trusted context user ID.

tcpass

Is the trusted context password.

WebFOCUS

Feedback