IBMiAccess




Results 1 to 5 of 5

Thread: User Login History

  1. #1
    Code400 Newbie
    Join Date
    Aug 2010
    Location
    Malaysia
    Posts
    1
    Rep Power
    0

    User Login History

    Hi All,

    How do check a particular user login history at particular time?
    Please help.
    Thanks in advance.

    rgds,

  2. # 666
    Circuit advertisement
    Join Date
    Aug 1965
    Location
    Yakutsk, Russia
    Posts
    1,000,000
     

  3. #2
    Harbinger of Doom tomholden's Avatar
    Join Date
    Dec 2007
    Location
    Lebanon, Tennessee, United States
    Posts
    4,341
    Rep Power
    8668

    Re: User Login History

    you would have to implement TELNET exit programs to ensure accuracy...
    I'm not anti-social, I just don't like people -Tommy Holden

  4. #3
    AS/400-iSeries Profession RBOrrell's Avatar
    Join Date
    Jul 2010
    Location
    Aurora, Ontario
    Posts
    136
    Rep Power
    457

    Re: User Login History

    DSPLOG to a file; query the file for the job start message (in addition look for the job end message). I've done this before as an HR department's "evidence" of not coming in on time. Of course their logic is flawed - what if the person came in 30 minutes before they login - it is not reflected. If this is your reasoning, your HR department needs better tools.

  5. #4
    Driver of cars, eater of food jamief's Avatar
    Join Date
    Jan 2004
    Location
    Belvidere, IL - United States of America
    Age
    49
    Posts
    9,429
    Rep Power
    12629

    Re: User Login History

    Could turn-on security auditing journaling.. see attached .pdf for details

    or if dsplog limit to start job / end job
    PHP Code:
     DSPLOG MSGID(CPF1124 CPF1164
    Attached Images Attached Images
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

  6. #5
    Experienced Forum Member Chipper's Avatar
    Join Date
    Mar 2007
    Location
    Greenbelt, Maryland, United States
    Age
    52
    Posts
    776
    Rep Power
    1988

    Re: User Login History

    Another option would be their initial program (in their user profile) which would write something to a data file. We do not currently log this kind of information, but all users have the same initial sign on program. So... this would be fairly easy to add some code to do this. However, not sure if your shop does things differently so this solution may not be as "clean" for you as it would be for me.

  7. # 666
    Circuit advertisement
    Join Date
    Aug 1965
    Location
    Yakutsk, Russia
    Age
    21
    Posts
    1,000,000
     

Facebook Comments


Similar Threads

  1. How to get 6 month history log?
    By BPandya in forum Iseries System administration
    Replies: 4
    Last Post: November 21st, 2008, 02:20 PM
  2. How to know current Login User
    By msalman_ali in forum RPG/RPGLE
    Replies: 0
    Last Post: July 5th, 2008, 02:00 AM
  3. Easy- how do I create user Login/pwd?
    By ermagarden in forum ANY THING GOES
    Replies: 4
    Last Post: August 7th, 2006, 01:56 PM
  4. Replies: 2
    Last Post: December 8th, 2005, 07:38 AM
  5. History Log File
    By Red in forum RPG/RPGLE
    Replies: 3
    Last Post: October 27th, 2005, 03:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •