About this task
The examples in these instructions use the C language and
assume that
conn is a pointer to a connected explicit
trusted connection. The variable
rc is assumed
to have a data type of SQLRETURN. The variable
newuser is
assumed to be a pointer to a character string holding the authorization
ID of the user you want to switch to. The variable
passwd is
assumed to be a pointer to a character string containing the password
for that authorization ID.