The MQZAC structure is used on the MQZ_AUTHENTICATE_USER call for the ApplicationContext parameter. This parameter specifies data related to the calling application.
Structure identifier.
For the C programming language, the constant MQZAC_STRUC_ID_ARRAY is also defined; this has the same value as MQZAC_STRUC_ID, but is an array of characters instead of a string.
This is an input field to the service.
Structure version number.
The following constant specifies the version number of the current version:
This is an input field to the service.
Process identifier.
The process identifier of the application.
Thread identifier.
The thread identifier of the application.
Application name.
User identifier.
For UNIX systems the application's real user ID. For Windows(R) the application's user ID. For OS/400(R) systems the user profile that the application job was created under. (OS/400: when a profile swap is done with the QWTSETP API in the application job the current user profile is returned).
Effective user identifier.
For UNIX systems the application's effective user ID. For Windows this field is all blank. For OS/400 systems the application job's current user profile.
Environment.
This field specifies the environment from which the call was made.
The value is one of the following:
Caller Type.
This field specifies the type of program that made the call.
The value is one of the following:
Authentication Type.
This field specifies the type of authentication being performed.
The value is one of the following:
Bind Type.
This field specifies the type of binding in use.
The value is one of the following:
typedef struct tagMQZAC MQZAC; struct tagMQZAC { MQCHAR4 StrucId; /* Structure identifier */ MQLONG Version; /* Structure version number */ MQPID ProcessId; /* Process identifier */ MQTID ThreadId; /* Thread identifier */ MQCHAR28 ApplName; /* Application name */ MQCHAR12 UserID; /* User identifier */ MQCHAR12 EffectiveUserID; /* Effective user identifier */ MQLONG Environment; /* Environment */ MQLONG CallerType; /* Caller type */ MQLONG AuthenticationType; /* Authentication type */ MQLONG BindType; /* Bind type */ };
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
mqzac |