Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Display User Permission (DSPUSRPMN) command allows you to show which users are permitted to handle documents or folders and perform OfficeVision/400-related tasks on behalf of another user, or to show which users have permitted other users to work on their behalf.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
USER | User profile | Single values: *CURRENT, *ALL Other values (up to 300 repetitions): Name |
Optional, Positional 1 |
GRANTED | Granted to/from | Character value, *TO, *FROM | Optional |
OUTPUT | Output | Optional |
Top |
Specifies the name of the user profile for which the information is shown. The name on this parameter must be enrolled in the system distribution directory before you run this command.
Top |
Specifies whether the output produced should display the granted-to relationships or granted-from relationships of a user or users.
Top |
Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.
Top |
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.
Top |
*ESCAPE Messages
Top |