Home
RemoteUserIdentifier (MQCHAR12)
First 12 bytes of user identifier from partner.
There are two fields that contain the remote user identifier:
- RemoteUserIdentifier contains the first 12 bytes of the remote user identifier, and is padded with blanks if the identifier is shorter than 12 bytes. RemoteUserIdentifier can be completely blank.
- LongRemoteUserIdPtr points to the full remote user identifier, which can be longer than 12 bytes. Its length is given by LongRemoteUserIdLength. The full identifier contains no trailing blanks, and is not null-terminated. If the identifier is completely blank, LongRemoteUserIdLength is zero, and the value of LongRemoteUserIdPtr is undefined.
LongRemoteUserIdPtr is not present if Vis less than MQCD_VERSION_6.
The remote user identifier is relevant only for channels with a ChannelType of MQCHT_CLNTCONN or MQCHT_SVRCONN.
- For a security exit on an MQCHT_CLNTCONN channel, this is a user identifier that has been obtained from the environment. The exit can choose to send it to the security exit at the server.
- For a security exit on an MQCHT_SVRCONN channel, this field may contain a user identifier which has been obtained from the environment at the client, if there is no client security exit. The exit may validate this user ID (possibly in conjunction with the password in RemotePassword) and update the value in MCAUserIdentifier.
If there is a security exit at the client, then this information can be obtained in a security flow from the client.
The length of this field is given by MQ_USER_ID_LENGTH. This field is not present if Vis less than MQCD_VERSION_2.
Parent topic:
Fields
ic18480_
Home