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 we 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 we 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, we can write a client authentication exit that is configured in IBM MQ. For more information about creating a client authentication exit, see Plan authentication for a client application.

To authenticate the user when connecting to IBM MQ for z/OS we need to use a security exit.

Parent topic: Property definitions