CL Command Reference - DSPPGMADP

CL Command List > DSPPGMADP Reference

Description:

The Display Programs that Adopt (DSPPGMADP) command displays the objects that adopt the special and private authorities of the specified user profile. This is a convenient way to check security exposure due to program adoption.

Restrictions:

. You must have object management (*OBJMGT) authority to the user profile.

. The user profile specified on the command will be locked while the command is running. The lock prevents such things as objects having their ownership changed. If this profile owns a lot of objects, the profile could be locked for an extended period of time.


Examples:

DSPPGMADP USRPRF(ABC) OUTPUT(*PRINT)

This command prints a list of the objects that adopt the special and private authorities of user profile ABC.