3.17.4.1.84 IsAuthenticated2 (Opnum 90)
The IsAuthenticated2 method is received by the server in an RPC_REQUEST packet. In response, the server MUST return a Boolean flag indicating if the message was authenticated by the Queue Manager that received the Message. This provides identical behavior to the method IMSMQMessage4::IsAuthenticated (section 3.17.4.1.6).
-
[propget] HRESULT IsAuthenticated2( [out, retval] VARIANT_BOOL* pisAuthenticated );
pisAuthenticated: A pointer to a VARIANT_BOOL that specifies whether the message was authenticated.
Return Values: The method MUST return S_OK (0x00000000) on success or an implementation-specific error HRESULT on failure.
When processing this call, the server MUST follow these guidelines:
If the represented Message.AuthenticationLevel is MQMSG_AUTHENTICATION_NOT_REQUESTED (0x00000000):
Set the pisAuthenticated output parameter to VARIANT_FALSE (0x0000).
Else:
Set the pisAuthenticated output parameter to VARIANT_TRUE (0xffff).