tibemsConnectionFactory_SetUserPassword
Function
Purpose
Set the password used by the connection factory to authenticate itself with the EMS Server.
C Declaration
tibems_status tibemsConnectionFactory_SetUserPassword( tibemsConnectionFactory factory, const char* password);
COBOL Call
CALL "tibemsConnectionFactory_SetUserPassword" USING BY VALUE factory, BY REFERENCE password, RETURNING tibems-status END-CALL.
Note:
factory
has usage pointer.
Parameters
Parameter | Description |
---|---|
factory
|
Set the password on this connection factory. |
password
|
The connection factory authenticates itself using this password. |
Remarks
When a connection factory establishes an EMS server connection, the EMS server requests authentication. Use this call to set the password that the connection factory uses to authenticate itself with the EMS server. Notice that this server authentication data is different from TLS authentication data.