Not Authorized (type 1)

Event name: Not Authorized (type 1).
Reason code in MQCFH: MQRC_NOT_AUTHORIZED (2035, X'7F3').
Not authorized for access.
Event description: On an MQCONN or system connection call, the user is not authorized to connect to the queue manager. ReasonQualifier identifies the nature of the error.
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 1 authority events.
    Identifier: MQIACF_REASON_QUALIFIER.
    Data type: MQCFIN.
    Values:

      MQRQ_CONN_NOT_AUTHORIZED
      Connection not authorized.

      MQRQ_SYS_CONN_NOT_AUTHORIZED
      Missing system authority.

      MQRQ_CSP_NOT_AUTHORIZED
      MQCSP user identifier and password not authorized.

    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 causing the event.
    Identifier: MQIA_APPL_TYPE.
    Data type: MQCFIN.
    Returned: Always.

    ApplName

    Description: Name of the application causing the event.
    Identifier: MQCACF_APPL_NAME.
    Data type: MQCFST.
    Maximum length: MQ_APPL_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.

    CSPUserIdentifier

    Description: The user identifier from the Connection Security Parameters (MQCSP) structure.
    Identifier: MQCACF_CSP_USER_IDENTIFIER.
    Data type: MQCFST.
    Maximum length: MQ_CLIENT_USER_ID_LENGTH
    Returned: Only for MQRQ_CSP_NOT_AUTHORIZED.

Parent topic: Event message descriptions