DSPUSRPMN (Display User Permission)
DSPUSRPMN Command syntax diagram
Purpose
The Display User Permission (DSPUSRPMN) command shows the names of the users who are permitted to handle documents or folders and perform tasks on behalf of another user, or shows the names of users who have permitted other users to work on their behalf. More information on user permission is in the Grant User Permission (GRTUSRPMN) command and the SNA Distribution Services
book.
Optional Parameters
- USER
- Specifies the name of the user profile for which the information is displayed. The name in the USER parameter must be enrolled in the system distribution directory before this command is run.
*CURRENT: The user profile that is currently running is used.
*ALL: Information is displayed for all users in the information directory.
user-profile-name: Specify the name of the user profile for which the information is displayed. Up to 300 user profile names can be specified.
- GRANTED
- Specifies whether the output produced should display the granted-to relationships or granted-from relationships of a user or users.
*TO: Users who are permitted to work on behalf of the specified user are displayed.
*FROM: Users that have permitted the specified user to work on their behalf are displayed.
- OUTPUT
- Specifies whether the output from the command is shown at the requesting workstation or printed with the job's spooled output. More information on this parameter is in commonly used parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job is printed with the job's spooled output.
*PRINT: The output is printed with the job's spooled output.
Examples for DSPUSRPMN
Example 1: Displaying Names of Users
DSPUSRPMN USER(*CURRENT) GRANTED(*TO) OUTPUT(*PRINT)This command prints the names of the users who are permitted to work on behalf of the current user.
Example 2: Printing Names of Users
DSPUSRPMN USER(*ALL) GRANTED(*TO) OUTPUT(*PRINT)This command prints the names of all users who have permitted other users to work on their behalf as well as the names of the other users.
Error messages for DSPUSRPMN
*ESCAPE Messages
- CPF9043
- User permission is not displayed because error occurred.
- CPF9845
- Error occurred while opening file &1.
- CPF9846
- Error while processing file &1 in library &2.
- CPF9847
- Error occurred while closing file &1 in library &2.
- CPF9850
- Override of printer file &1 not allowed.
- CPF9851
- Overflow value for file &1 in &2 too small.