XMSC_USERID
- Data type:
- String
- Property of:
- ConnectionFactory
A user identifier that can be used to authenticate the application when it attempts to connect to a messaging server. The user identifier is used with the XMSC_PASSWORD property.
By default, the property is not set.
If you are connecting to IBM® MQ for Multiplatforms, and you set the XMSC_USERID property of the connection factory, it must match the
userid of the logged on user. If you do not set these properties, the queue
manager uses the userid of the logged on user by default. If you require
further connection-level authentication of individual users, you can write a client authentication
exit that is configured in IBM MQ. For more information
about creating a client authentication exit, see Planning authentication for a
client application.
To authenticate the user when connecting to IBM MQ for z/OS® you need to use a security exit.