Authorization ID privileges: SETSESSIONUSER
Authorization ID privileges involve actions on authorization IDs. There is currently only one such privilege: the SETSESSIONUSER privilege.
The SETSESSIONUSER privilege can be granted to a user or to a group and allows the holder to switch identities to any of the authorization IDs on which the privilege was granted. The identity switch is made by using the SQL statement SET SESSION AUTHORIZATION. The SETSESSIONUSER privilege can only be granted by a user holding SECADM authority.
Note: When you upgrade a Version 8 database to Version 9.1, or later,
authorization IDs with explicit DBADM authority on that database are
automatically granted SETSESSIONUSER privilege on PUBLIC. This prevents
breaking applications that rely on authorization IDs with DBADM authority
being able to set the session authorization ID to any authorization
ID. This does not happen when the authorization ID has SYSADM authority
but has not been explicitly granted DBADM.