MQZAC - Application context
The MQZAC structure is used on the MQZ_AUTHENTICATE_USER call for the ApplicationContext parameter. This parameter specifies data related to the calling application.
Table 1 summarizes the fields in the structure.Field | Description |
---|---|
StrucId | Structure identifier |
Version | Structure version number |
ProcessId | Process identifier |
ThreadId | Thread identifier |
ApplName | Application name |
UserID | User identifier |
EffectiveUserID | Effective user identifier |
Environment | Environment |
CallerType | Caller type |
AuthenticationType | Authentication type |
BindType | Bind type |
Fields
- StrucId
- Type: MQCHAR4 - input
Structure identifier. The value is as follows:
- Version
- Type: MQLONG - input
Structure version number. The value is as follows:
- ProcessId
- Type: MQPID - input
Process identifier of the application.
- ThreadId
- Type: MQTID - input
Thread identifier of the application.
- ApplName
- Type: MQCHAR28 - input
Application name.
- UserID
- Type: MQCHAR12 - input
User identifier. On UNIX this field specifies the application's real user ID. On Windows this field specifies the application's user ID.
- EffectiveUserID
- Type: MQCHAR12 - input
Effective user identifier. On UNIX this field specifies the application's effective user ID. On Windows this field is blank.
- Environment
- Type: MQLONG - input
Environment. This field specifies the environment from which the call was made. The field is one of the following values:
- CallerType
- Type: MQLONG - input
Caller Type. This field specifies the type of program that made the call. The field is one of the following values:
- AuthenticationType
- Type: MQLONG - input
Authentication Type. This field specifies the type of authentication being performed. The field is one of the following values:
- BindType
- Type: MQLONG - input
Bind Type. This field specifies the type of binding in use. The field is one of the following values:
C declaration
Declare the fields of the structure as follows: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 */ };Parent topic: Installable services interface reference information