Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Profile changed

Status
Not open for further replies.
Feb 22, 2009
60
MX
Hi, if I need to know the date/hour of each time a profile was changed; where can I look at?

 
maybe in the qhist file,, or if there is journaling for the machine.. otherwise, not sure if that info is kept.
 
The following command will send informaiton about the user profile to an OUTFILE. Two of the fields in there are the date and time the password was changed.

Code:
Command DSPUSRPRF USRPRF(user) TYPE(*BASIC) OUTPUT(*OUTFILE) OUTFILE(library/file-name)

This could be automated in a CL program by using command:

Code:
DSPOBJD OBJ(QSYS/*ALL) OBJTYPE(*USRPRF) OUTPUT(*OUTFILE) OUTFILE(library/file-name)

 
If you need to see who it was changed by, see DSPAUDJRNE.
 
It just struck me, where I have your "nom de plume", very nice
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top