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

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

Join the forum, it's quick and easy

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

Get Answers for all your queries on IBM i (AS/400).
PMS Information Systems
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to get the Users last logon date ?

2 posters

Go down

date - How to get the Users last logon date ? Empty How to get the Users last logon date ?

Post  inbaraj 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

Back to top Go down

date - How to get the Users last logon date ? Empty Re: How to get the Users last logon date ?

Post  sivakumar 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 : 37
Location : Chennai

Back to top Go down

Back to top

- Similar topics

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