CL Command Reference - DSPUSRPMN

CL Command List > DSPUSRPMN Reference

Description:

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.


Examples:

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.