Use the DSPUSRPRF command. For example: DSPUSRPRF USRPRF(KEG) TYPE(*OBJOWN) OUTPUT(*PRINT)
This example will list all objects owned by profile KEG.
The report looks like this:
Display Owned Objects User Profile . . . . . . . . . . . . . . . : KEG Total objects . . . . . . . . . . . . . . : 69 Authority Object Library Type Holder PDSN101354 QDOC *DOC LKXR123169 QDOC *FLR MC4M302805 QDOC *FLR MC4M374665 QDOC *FLR KEG QUSRSYS *MSGQ *CPI220D - 64 objects were not included in this list. * * * * * E N D O F L I S T I N G * * * * *
The CPI220D indicates that objects in the IFS (directories and other stream files) are not listed on this report. It also mentions that you can obtain this information via the QSYLOBJA API with format OBJA0110, OBJA0210, or OBJA0310.
================================== MORE INFORMATION ON THIS TOPIC ==================================
The Best Web Links: tips, tutorials and more.
Ask your OS/400 questions--or help out your peers by answering them--in our live OS/400 discussion forums.
Search400.com's targeted search engine: Get relevant information on V5R1.
This was first published in February 2003