Work Objects by Private Auth (WRKOBJPVT)

Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC)
Threadsafe: No
Parameters
Examples
Error messages

The Work with Objects by Private Authority (WRKOBJPVT) command is used to manage objects for which a user has private authority. This command displays objects for which a user has private authority and performs the following:

Note: This command may run a long time if the specified user profile has private authority to a large number of objects.

Restrictions:

Top

Parameters

Keyword Description Choices Notes
USRPRF User profile Simple name, *CURRENT Optional, Positional 1
Top

User profile (USRPRF)

Specifies the user profile whose privately authorized objects are to be shown.

*CURRENT
Objects to which the user profile that is running the WRKOBJPVT command is privately authorized are shown.
name
Specify the name of the user profile.
Top

Examples

WRKOBJPVT   USRPRF(EMP956)

This command displays the Work with Objects by Private Authority panel, showing a list of the objects for which user profile EMP956 has private authority.

Top

Error messages

*ESCAPE Messages

CPF2204
User profile &1 not found.
CPF2213
Not able to allocate user profile &1.
CPF2217
Not authorized to user profile &1.
Top