MQZED - Entity descriptor
The MQZED structure describes the information that is passed to the MQZAS_VERSION_2 authorization service calls.
Fields
StrucId (MQCHAR4)
Structure identifier.
The value is:
- MQZED_STRUC_ID
- Identifier for entity descriptor structure.
For the C programming language, the constant MQZED_STRUC_ID_ARRAY is also defined; this has the same value as MQZED_STRUC_ID, but is an array of characters instead of a string.
This is an input field to the service.
Version (MQLONG)
Structure version number.
The value is:
- MQZED_VERSION_1
- Version-1 entity descriptor structure.
The following constant specifies the version number of the current version:
- MQZED_CURRENT_VERSION
- Current version of entity descriptor structure.
This is an input field to the service.
EntityNamePtr (PMQCHAR)
Address of entity name.
This is a pointer to the name of the entity whose authorization is to be checked.
EntityDomainPtr (PMQCHAR)
Address of entity domain name.
This is a pointer to the name of the domain containing the definition of the entity whose authorization is to be checked.
SecurityId (MQBYTE40)
Security identifier.
This is the security identifier whose authorization is to be checked.
C declaration
typedef struct tagMQZED MQZED; struct tagMQZED { MQCHAR4 StrucId; /* Structure identifier */ MQLONG Version; /* Structure version number */ PMQCHAR EntityNamePtr; /* Address of entity name */ PMQCHAR EntityDomainPtr; /* Address of entity domain name */ MQBYTE40 SecurityId; /* Security identifier */ };