Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 8 Connection Factory : tibemsConnectionFactory : tibemsConnectionFactory_CreateXAConnection

tibemsConnectionFactory_CreateXAConnection
Function
Purpose
Create an XA connection object.
C Declaration
extern tibems_status
tibemsConnectionFactory_CreateXAConnection(
    tibemsConnectionFactory factory,
    tibemsConnection* connection,
    const char* username,
    const char* password);
COBOL Call
CALL "tibemsConnectionFactory_CreateXAConnection"
    USING BY VALUE factory,
           BY REFERENCE connection,
           BY REFERENCE username,
           BY REFERENCE password,
           RETURNING tibems-status
END-CALL.
factory and connection have usage pointer.
Parameters
 
The connection object presents this user identity to the server. Set to NULL if the server isn’t authenticating or authorizing users.
The connection object authenticates the user identity with this password. Set to NULL if the server isn’t authenticating or authorizing users.
Remarks
When the identity parameters are null, the connection object presents a default user identity. If the server configuration permits that anonymous user, then the call succeeds.
See Also
tibemsConnection on page 208

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved