Use the dmpmqaut command to dump the current authorizations to a specified object. You usually use dmpmqaut to dump the authorizations associated with generic profiles; for a detailed description of generic profiles, see Using OAM generic profiles.
Syntax
Optional parameters
| queue or q | A queue or queues matching the object name parameter |
| qmgr | A queue manager object |
| process or prcs | A process |
| namelist or nl | A namelist |
| authinfo | Authentication information, for use with Secure Sockets Layer (SSL) channel security |
For WebSphere MQ for Windows only, the name of the principal can optionally include a domain name, specified in the following format:
userid@domain
For more information about including domain names on the name of a principal, see "Principals and groups".
The following examples show the use of dmpmqaut to dump authority records for generic profiles:
dmpmqaut -m qm1 -n a.b.c -t q -p user1
The resulting dump would look something like this:
profile: a.b.* object type: queue entity: user1 type: principal authority: get, browse, put, inq
dmpmqaut -m qmgr1 -n a.b.c -t q
The resulting dump would look something like this:
profile: a.b.c object type: queue entity: Administrator type: principal authority: all - - - - - - - - - - - - - - - - - profile: a.b.* object type: queue entity: user1 type: principal authority: get, browse, put, inq - - - - - - - - - - - - - - - - - profile: a.** object type: queue entity: group1 type: group authority: get
dmpmqaut -m qmgr1 -n a.b.* -t q
The resulting dump would look something like this:
profile: a.b.* object type: queue entity: user1 type: principal authority: get, browse, put, inq
dmpmqaut -m qmX
The resulting dump would look something like this:
profile: q1 object type: queue entity: Administrator type: principal authority: all - - - - - - - - - - - - - - - - - profile: q* object type: queue entity: user1 type: principal authority: get, browse - - - - - - - - - - - - - - - - - profile: name.* object type: namelist entity: user2 type: principal authority: get - - - - - - - - - - - - - - - - - profile: pr1 object type: process entity: group1 type: group authority: get
dmpmqaut -m qmX -l
The resulting dump would look something like this:
profile: q1, type: queue profile: q*, type: queue profile: name.*, type: namelist profile: pr1, type: process
Note: | For WebSphere MQ for Windows only, all principals displayed include domain
information, for example:
profile: a.b.* object type: queue entity: user1@domain1 type: principal authority: get, browse, put, inq |
Related commands
dspmqaut | Display authority |
setmqaut | Set or reset authority |