Work with MQ Authority Data (WRKMQMAUTD)
- Where allowed to run
- All environments (*ALL)
- Threadsafe
- Yes
The Work with MQ Authority Records (WRKMQMAUTD) displays a list of all the users registered to a particular authority profile name and type. This enables you to grant, revoke, delete and create authority records.
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
OBJ | Object/Profile name | Character value | Required, Positional 1 |
OBJTYPE | Object type | *Q, *PRC, *MQM, *NMLIST, *AUTHINFO, *CHL, *CLTCN, *SVC, *LSR, *TOPIC | Required, Positional 2 |
USER | User name | Name, *PUBLIC, *ALL | Optional, Positional 3 |
MQMNAME | Message Queue Manager name | Character value, *DFT | Optional, Positional 4 |
SRVCOMP | Service Component name | Character value, *DFT | Optional, Positional 5 |
Object name (OBJ)
>Specify the object name or authority profile name of the object to select.
- object-name
- Specify the name of an MQ object; all authority records for which the object name or generic profile name match this object name are selected.
- generic profile
- Specify the generic profile of an MQ object; only the authority record which exactly matches the
generic profile is selected. A generic profile is a character string containing one or more generic
characters anywhere in the string. The generic characters are (?), (*) and (**).
You are recommended to specify the name required within quotation marks. Using this format ensures that your selection is precisely what you entered.
Object type (OBJTYPE)
>Specifies the object type of the authority profile to select.
- *Q
- All queue object types.
- *AUTHINFO
- Authentication Information object.
- *MQM
- Message Queue Manager.
- *NMLIST
- Namelist object.
- *PRC
- Process definition.
- *CHL
- Channel object.
- *CLTCN
- Client Connection Channel object.
- *LSR
- Listener object.
- *SVC
- Service object.
- *TOPIC
- Topic object.
User name (USER)
>Specifies the name of the user for whom authorities for the named object are displayed.
The possible values are:
- *ALL
- List all relevant users.
- *PUBLIC
- The user name implying all users of the system.
- user-profile-name
- Specify the name of the user.
Message Queue Manager name (MQMNAME)
>Specifies the name of the queue manager.
- *DFT
- Use the default queue manager.
- queue-manager-name
- Specify the name of the queue manager.
Service Component name (SRVCOMP)
>Specify the name of the installed authorization service in which to search for the authorities to display.
The possible values are:
- *DFT
- All installed authorization components are searched for the specified authority profile name and object type.
- Authorization-service-component-name
- The component name of the authorization service as specified in the Queue manager's qm.ini file.
Examples
>None
Error messages
>Unknown
Parent topic: CL commands reference for IBM i