RE: Automatic disabling of users

AllisonD

Well Known Member
RE: Automatic disabling of users

QSYS/CALL PGM(QSYS/QSECIDL2) PARM('090')

This will disable idle AS/400 users based on the value in PARM. The example above disables any user id idle for 90 days or greater. I have this in the scheduler to check daily. Then periodically I compare the disabled users to a list provided by HR and remove those who have left the company.
Darrell Allison
Systems Programmer
AS/400 V4R5 9406-730 8-Way / OneWorld B7332 SP11.3
AS/400 V5R2 9409-810 1-Way / OneWorld B7332 SP21
 
A nice tip. Thank you. As an enhancement, retrieve the system value QPWDEXPITV (Password expiration interval) to further eliminate hard coding that would require a program change if that value changes.
 
This tip will only work with the iSeries 400 profile of the OS400. Any ideas on automatically disabling the profiles that JDE OW stores in its tables in a similar fashion?
 
Back
Top