<div class="content" name="MQQMACCESSMASK" uuid="27fc2844-4f4f-49c0-8c08-cb733703652c"><p>The MQQMACCESSMASK bitfield enumeration values can be used
to set the value of an <b>ACCESS_MASK</b> structure (<a href="../ms-dtyp/cca27429-5689-4a16-b2b4-9325d93e4ba2" data-linktype="relative-path">[MS-DTYP]</a>
section <a href="../ms-dtyp/7a53f60e-e730-4dfe-bbe9-b21b62eb790b" data-linktype="relative-path">2.4.3</a>),
which is used to constrain the permissions for a <a href="87486cd1-6ef0-4b58-93f9-f9b97b2279c4#gt_476f10ed-08f0-4887-b583-59d5cf909979" data-linktype="relative-path">Queue Manager</a>.</p><dl>
<dd>
<div><pre> typedef  enum 
 {
   MQSEC_DELETE_DEADLETTER_MESSAGE = 0x00000001,
   MQSEC_PEEK_DEADLETTER_MESSAGE = 0x00000002,
   MQSEC_CREATE_QUEUE = 0x00000004,
   MQSEC_SET_MACHINE_PROPERTIES = 0x00000010,
   MQSEC_GET_MACHINE_PROPERTIES = 0x00000020,
   MQSEC_DELETE_JOURNAL_QUEUE_MESSAGE = 0x00000040,
   MQSEC_PEEK_JOURNAL_QUEUE_MESSAGE = 0x00000080,
   MQSEC_DELETE_MACHINE = 0x00010000,
   MQSEC_GET_MACHINE_PERMISSIONS = 0x00020000,
   MQSEC_CHANGE_MACHINE_PERMISSIONS = 0x00040000,
   MQSEC_TAKE_MACHINE_OWNERSHIP = 0x00080000,
   MQSEC_RECEIVE_DEADLETTER_MESSAGE = (MQSEC_DELETE_DEADLETTER_MESSAGE    + MQSEC_PEEK_DEADLETTER_MESSAGE),
   MQSEC_RECEIVE_JOURNAL_QUEUE_MESSAGE = (MQSEC_DELETE_JOURNAL_QUEUE_MESSAGE    + MQSEC_PEEK_JOURNAL_QUEUE_MESSAGE),
   MQSEC_MACHINE_GENERIC_READ = (MQSEC_GET_MACHINE_PROPERTIES    + MQSEC_GET_MACHINE_PERMISSIONS    + MQSEC_RECEIVE_DEADLETTER_MESSAGE    + MQSEC_RECEIVE_JOURNAL_QUEUE_MESSAGE),
   MQSEC_MACHINE_GENERIC_WRITE = (MQSEC_GET_MACHINE_PROPERTIES    + MQSEC_GET_MACHINE_PERMISSIONS    + MQSEC_CREATE_QUEUE),
   MQSEC_MACHINE_GENERIC_ALL = (MQSEC_RECEIVE_DEADLETTER_MESSAGE    + MQSEC_RECEIVE_JOURNAL_QUEUE_MESSAGE    + MQSEC_CREATE_QUEUE    + MQSEC_SET_MACHINE_PROPERTIES    + MQSEC_GET_MACHINE_PROPERTIES    + MQSEC_DELETE_MACHINE    + MQSEC_GET_MACHINE_PERMISSIONS    + MQSEC_CHANGE_MACHINE_PERMISSIONS    + MQSEC_TAKE_MACHINE_OWNERSHIP),
   MQSEC_MACHINE_WORLD_RIGHTS = (MQSEC_GET_MACHINE_PROPERTIES    + MQSEC_GET_MACHINE_PERMISSIONS)
 } MQQMACCESSMASK;
</pre></div>
</dd></dl><p><b>MQSEC_DELETE_DEADLETTER_MESSAGE:  </b>Specifies the
permission required by a security principal to delete <a href="87486cd1-6ef0-4b58-93f9-f9b97b2279c4#gt_85c78cf0-1fb6-4e5d-85f5-a2e9f58a6b9e" data-linktype="relative-path">messages</a> from the system <a href="87486cd1-6ef0-4b58-93f9-f9b97b2279c4#gt_99517f21-e7cf-4c8f-a651-0dd969828cba" data-linktype="relative-path">dead-letter queue</a>.</p><p><b>MQSEC_PEEK_DEADLETTER_MESSAGE:  </b>Specifies the
permission required by a security principal to peek messages from the system
dead-letter queue.</p><p><b>MQSEC_CREATE_QUEUE:  </b>Specifies the permission
required by a security principal to create a new <a href="87486cd1-6ef0-4b58-93f9-f9b97b2279c4#gt_c1a6400d-703b-4f9a-a74c-40f1487978d9" data-linktype="relative-path">queue</a>.</p><p><b>MQSEC_SET_MACHINE_PROPERTIES:  </b>Specifies the
permission required by a security principal to change the properties of the
queue manager.</p><p><b>MQSEC_GET_MACHINE_PROPERTIES:  </b>Specifies the
permission required by a security principal to read the properties of the queue
manager.</p><p><b>MQSEC_DELETE_JOURNAL_QUEUE_MESSAGE:  </b>Specifies the
permission required by a security principal to delete a message from the system
<a href="87486cd1-6ef0-4b58-93f9-f9b97b2279c4#gt_89cac287-8784-4fdf-893f-739cd0ef3785" data-linktype="relative-path">queue journal</a>.</p><p><b>MQSEC_PEEK_JOURNAL_QUEUE_MESSAGE:  </b>Specifies the
permission required by a security principal to peek a message from the system
queue journal.</p><p><b>MQSEC_DELETE_MACHINE:  </b>Specifies the permission
required by a security principal to delete the queue manager.</p><p><b>MQSEC_GET_MACHINE_PERMISSIONS:  </b>Specifies the
permission required by a security principal to get the security descriptor of
the queue manager.</p><p><b>MQSEC_CHANGE_MACHINE_PERMISSIONS:  </b>Specifies the
permission required by a security principal to set or modify the security
descriptor of the queue manager.</p><p><b>MQSEC_TAKE_MACHINE_OWNERSHIP:  </b>Specifies the
permission required by a security principal to change the owner of the queue
manager.</p><p><b>MQSEC_RECEIVE_DEADLETTER_MESSAGE:  </b>Specifies the
permission required by a security principal to destructively read a message
from the system dead-letter queue.</p><p><b>MQSEC_RECEIVE_JOURNAL_QUEUE_MESSAGE:  </b>Specifies the
permission required by a security principal to destructively read a message
from the system queue journal.</p><p><b>MQSEC_MACHINE_GENERIC_READ:  </b>Specifies the permission
required by a security principal to read the queue manager properties, read the
queue manager permissions, and destructively read a message from the system
dead-letter or system queue journal.</p><p><b>MQSEC_MACHINE_GENERIC_WRITE:  </b>Specifies the
permission required by a security principal to read the queue manager
properties, read the queue manager permissions, and create new queues.</p><p><b>MQSEC_MACHINE_GENERIC_ALL:  </b>Specifies the permission
required by a security principal to perform all of the operations listed
previously.</p><p><b>MQSEC_MACHINE_WORLD_RIGHTS:  </b>Specifies the permission
required by a security principal to get queue manager properties or
permissions.</p></div>