MQSID_* values" /> AlternateSecurityId (MQBYTE40)
Home

 

AlternateSecurityId (MQBYTE40)

This is a security identifier that is passed with the AlternateUserId to the authorization service to allow appropriate authorization checks to be performed. AlternateSecurityId is used only if:

and the AlternateUserId field is not entirely blank up to the first null character or the end of the field.

On Windows, AlternateSecurityId can be used to supply the Windows security identifier (SID) that uniquely identifies the AlternateUserId. The SID for a user can be obtained from the Windows system by use of the LookupAccountName() Windows API call.

On z/OS, this field is ignored.

The AlternateSecurityId field has the following structure:

We can use the following special value:

MQSID_NONE

No security identifier specified.

The value is binary zero for the length of the field.

For the C programming language, the constant MQSID_NONE_ARRAY is also defined; this has the same value as MQSID_NONE, but is an array of characters instead of a string.

This is an input field. The length of this field is given by MQ_SECURITY_ID_LENGTH. The initial value of this field is MQSID_NONE. This field is ignored if Vis less than MQOD_VERSION_3.



 

Home