Not Authorized (type 5)
Event name: Not Authorized (type 5). Reason code in MQCFH: MQRC_NOT_AUTHORIZED (2035, X'7F3').
Not authorized for access.
Event description: On an MQSUB call, the user is not authorized to subscribe to the specified topic. Event type: Authority. Platforms: All, except IBM MQ for z/OS . Event queue: SYSTEM.ADMIN.QMGR.EVENT.
Event data
- QMgrName
Description: Name of the queue manager generating the event. Identifier: MQCA_Q_MGR_NAME. Data type: MQCFST. Maximum length: MQ_Q_MGR_NAME_LENGTH. Returned: Always.
- ReasonQualifier
Description: Identifier for type 5 authority events. Identifier: MQIACF_REASON_QUALIFIER. Data type: MQCFIN. Values:
- MQRQ_SUB_NOT_AUTHORIZED
- Subscribe not authorized.
Returned: Always.
- Options
Description: Options specified on the MQSUB call. Identifier: MQIACF_SUB_OPTIONS Data type: MQCFIN. Returned: Always.
- UserIdentifier
Description: User identifier that caused the authorization check. Identifier: MQCACF_USER_IDENTIFIER. Data type: MQCFST. Maximum length: MQ_USER_ID_LENGTH. Returned: Always.
- ApplType
Description: Type of application that caused the authorization check. Identifier: MQIA_APPL_TYPE. Data type: MQCFIN. Returned: Always.
- ApplName
Description: Name of the application that caused the authorization check. Identifier: MQCACF_APPL_NAME. Data type: MQCFST. Maximum length: MQ_APPL_NAME_LENGTH. Returned: Always.
- TopicString
Description: Topic string being opened or subscribed to. Identifier: MQCA_TOPIC_STRING. Data type: MQCFST. Maximum length: MQ_TOPIC_STR_LENGTH. Returned: Always.
- AdminTopicNames
Description: List of topic administration objects against which authority is checked. Identifier: MQCA_ADMIN_TOPIC_NAME. Data type: MQCFSL. Maximum length: MQ_TOPIC_NAME_LENGTH. Returned: Always.
- ConnName
Description: Connection name for client connection. Identifier: MQCACH_CONNECTION_NAME. Data type: MQCFST. Maximum length: MQ_CONN_NAME_LENGTH. Returned: If the application making the MQI call that caused the event is a client attached application.
- ChannelName
Description: Channel name for client connection. Identifier: MQCACH_CHANNEL_NAME. Data type: MQCFST. Maximum length: MQ_CHANNEL_NAME_LENGTH Returned: If the application making the MQI call that caused the event is a client attached application.
Parent topic: Event message descriptions