3.10.4.1.36 IsWorldReadable2 (Opnum 42)

The IsWorldReadable2 method is received by the server in an RPC_REQUEST packet. In response, the server returns a BOOLEAN, which indicates whether the referenced queue is accessible to everyone, or only to the owner and the system administrators.

 [propget] HRESULT IsWorldReadable2(
   [out, retval] VARIANT_BOOL* pisWorldReadable
 );

pisWorldReadable: A pointer to a VARIANT_BOOL that indicates whether the referenced queue is accessible to everyone, or only to the owner and the system administrators.

Return Values: The method MUST return S_OK (0x00000000).

When processing this call, the server MUST abide by the following contract:

If only the owner security principal has MQSEC_TAKE_QUEUE_OWNERSHIP permissions for the referenced queue as defined by the security descriptor in the refQueue.Security attribute:

  • Set the pisWorldReadable output parameter to FALSE.

Else:

  • Set the pisWorldReadable output parameter to TRUE.

  • Return S_OK (0x00000000), and take no further action.