PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).

How to get the Users last logon date ?

View previous topic View next topic Go down

How to get the Users last logon date ?

Post  inbaraj on Fri Jun 18, 2010 9:29 pm

How to get the users last logon date. My Requirement is to get the user who have not loged on more then 90 days. Is there any command to know this.

inbaraj

Posts : 2
Join date : 2009-07-29

View user profile

Back to top Go down

Re: How to get the Users last logon date ?

Post  sivakumar on Fri Jun 18, 2010 11:14 pm

DSPUSRPRF USRPRF(*ALL)
OUTPUT(*OUTFILE)
OUTFILE(MYLIB/MYFILE)

it will create a Physical file, from this physical file you can get the details.

You can also use the Print User Profile command and it will give you the information you are needing.

PRTUSRPRF TYPE(*PWDINFO)You can prompt the command and select different options but the one above should give you what you want at this time.

sivakumar

Posts : 174
Join date : 2009-07-27
Age : 30
Location : Chennai

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum