Last login date of a deleted user

Hi there,
Could you please let me know how to find the last login date of a deleted user in the SAP.
Thanks
Amit.

Hi Bernhard,
Thanks a ton for the reply.
you are correct that they you cannot get the details of a deleted user from USR02 but they are ways in which you can still find the last login date of a deleted user.
One of the ways is using of transaction SUIM but i have no idea why this is not working in my system.
Anyways if you can find any relevant detail please let me know.
Regards
Amit

Similar Messages

  • PowerShell Active Directory: Get last logon date of a deleted user

    So, my first post in this noble community. I've been lurking here and I've been getting some good information. Hopefully, you guys can help me in this concern which may be simple to some but I couldn't seem to get around it.
    Is it possible to get the last logon date of a DELETED user in Active Directory?
    I can get the available properties of deleted users using the following:
    Get-ADObject -Filter {samaccountname -eq <account_name> -and ObjectClass -eq "user"} -IncludeDeletedObjects -Properties *
    But the last logon date is not one of the properties available from Get-ADObject. Get-ADUser has the last logon property, but it does not have data on deleted users. Is there anyway this can be achieved? Perhaps convert an ADObject to an ADUser?
    Any information would be much appreciated. Thank you.

    Thanks everyone for your response. It looks like jrv is leading me to the right path, but I'm still having issues. I'm trying to get the lastlogon time by querying all the DCs in our domain, but every query returns a null lastlogon time for all the deleted
    users I tried:
    $DomainControllers = ((Get-ADForest).Domains | %{ Get-ADDomainController -Filter * -Server $_ }).Name
    foreach ($DC in $DomainControllers)
        $dn=(Get-ADObject -Filter {samaccountname -eq <user_account>} -includedeletedobjects -server $DC).DistinguishedName
        $user=[adsi]"LDAP://$dn"
        $user.LastLogon
    It always returns null. Morever, simply executing [adsi]"LDAP://$dn" from each DC gives the following error:
    format-default : The following exception occurred while retrieving member
    "distinguishedName": "There is no such object on the server.
        + CategoryInfo          : NotSpecified: (:) [format-default], ExtendedType
       SystemException
        + FullyQualifiedErrorId : CatchFromBaseGetMember,Microsoft.PowerShell.Comm
       ands.FormatDefaultCommand
    It's a bit surprising to me though, since $user=[adsi]"LDAP://$dn" does return a value for $user (instead of null whenever an error is encountered) of type System.DirectoryServices.DirectoryEntry but it has no members.
    Anyone know what I'm missing?

  • Getting last login dates and times for graphical/xwindows logins?

    Hi,
    How do I get the last login date and times for users who just use the GUI (and don't launch terminals)?
    So far such logins don't seem to show up when I do "last -f /var/adm/utmpx" or for wtmpx.
    What should I be using on solaris to get the last login dates and times for all users, whether they log in on the text console, graphical console, or remotely via ssh etc?
    Thanks,
    Link.

    Hi,
    How do I get the last login date and times for users who just use the GUI (and don't launch terminals)?
    So far such logins don't seem to show up when I do "last -f /var/adm/utmpx" or for wtmpx.
    What should I be using on solaris to get the last login dates and times for all users, whether they log in on the text console, graphical console, or remotely via ssh etc?
    Thanks,
    Link.

  • Hi all, can someone help me in getting last login date of a user in CQ5 please?

    Hi all, can someone help me in getting last login date of a user in CQ5 please?

    CQ is REST based and does not have the concept of session. So there is no feature to track login or logout details.  Most of our customers use some kind of central authentication Ex- SSO hence no need arises to have such functionality built in.  However if needed you have the ability to implement such at a project level solution. Ex:- custom login modules or auth-handler by taking project specific constraints and requirements into account

  • Is there a way to audit user accounts by last login date/time?

    Hello all,
    Is there a way to see or report on a user's last login.  I don't see a last login date parameter in the UM record.  I see that all security events are logged in the security log including logon and logoff, but what I need is to be able to produce a report that provides all user accounts which have not been logged on to since a specified date or # of days, i.e. since 01/01/2008 or >180 days.
    Any clues or guidance is appreciated.
    Regards,
    Paul

    Is there a SAP / Portal standard way of accessing this information?
    Our authorisations team have asked me to get them such a report, and I can't find anything on the portal (NW2004) that would give this information. I don't think the basis guys would be terribly chuffed to provide access directly to the database. If this (database access) is the only way, then I suppose a custom developed app could be created and deployed to the portal, but I would have thought this is a reasonalby sensible report so would be standard content somewhere.
    Cheers,
    Andrew

  • Last Login date of user

    Hi,
    Can anybody please tell the data dictionary table to get the Last Login date of users.

    No such data dictionary available for login date and timestamp.
    You can go for logon triggers. Search in Oracle Documentations/in this forums/google, for samples/examples.
    Regards,
    Sabdar Syed.

  • How to get last login date of the user

    Hi,
    I have an application where i need the last login date of the user and if the differance between the last login date and the system date is greater than a certain range the user account should be locked automatically.Please suggest me how resolve the problem as early as possible.
    Thanks and Regards
    Aniruddha

    Hi,
    We have faced the same issue earlier. Some attributes are available in SAP API, but they are depricated by sap due to some performance issue.
    Below solution will be helpful:
    So we have implmented custom code in our application. We have developed one webdynpro application which will retrieve update & retrieve logon time from portal database(custom table). And we have integrated this application in desktop inner page. So this application will be invisible to the user and will executed first time when user logs into the portal.
    Regards,
    Charan

  • Hyperion Planning Last Login Date

    Hello Everyone,
    I have a requirement where in I need to track the usage of the Hyperion Planning application. I need to build a list of inactive or dormant users and clean them up from the application.
    In order for me to achieve this, I need the Last Login date into the Hyperion Planning application.
    I read about something called Usage Tracking that needed to be turned on. A records gets added into the hsp_audit_records table.
    Can someone throw some more light on this ? My requirement is to track the planning apps usage and clean up inactive users.
    Thanks
    RS

    Hi,
    we have the same issue: some new users every week and a lot of users not using planning anymore- depending on their always changing role in the company.
    only helpful logfile we use to identify inactive/old users is: hbrlaunch.log - it logs the username and the businessrules, they execute.
    maybe you regard this approach as a helpful workaround (provided your users run businessrules at all)
    users, who run only financial reporting or who open only planning forms to passively review budgets (we have that a lot) , we would delete accidentially by this approach, because if you never save data, you never execute a businessrule attached to a webform.
    but what about following approach:
    you create a very small webform called "Confirm my user access", add a very small businessrule named "Confirm user access", which calculates almost nothing and you attach the rule to the form, give access to all users AND use option: "run on load"
    by this, the rule get's executed on opening the webform already - you could even show a member in the webform with name "Thanks for confirming your user account - it will remain active"
    Only disadvantage: you need to write a mail to all users and explicitly ask them to open that webform and confirm the user access. (Maybe you like that approach)
    Alternative might me that you attach the businessrule to the/those webform(s) - especially read-only webforms, where people don't save data or execute businessrules and which are opened most often by all users and don't tell them about that method at all.
    You then should get a pretty complete overview of your active users (userid's only I am afraid ) in hbrlaunch.log
    in addition, financial reporting has a logfile as well, so you could combine the usage of financial reporting and planning (provided you use it)
    pls. note, that the early 9.3.1 financial reporting versions have a bug and the logfile is empty= useless
    Assuming you use shared services, you probably have to attach your users into several groups- it maybe helpful to first remove the user from one central group, which blocks their access to planning application or takes the right to open planning forms- you then start your forecast, wait for their complaints and delete them 3 months later completely from all security groups - could save you some work on re-creating their access.
    We use the apache http-webserver - you can modify it, so that it's logging all datatransfer - you get there the IP-Adress and the requested application (Hyperion Planning) and the requested webforms logged - but no username.
    In the eas console, we see the last logindate, which seems to show the last date, a user requested a financial report against essbase.
    We use that information in combination with hbrlaunch.log form businessrules.
    we have the hsp_audit_trail switched on for all options-
    data: it stores all member, user and time information for every single saved value in the database - so we have between 500.000 and 1 Mio entries - it's especially useful, when your essbase crashes and your backup is a few hours old- you then can use that information to upload the remaining data-entries via smartview/exceladdin - provided you have some hours time to prepare the values in excel.
    hspaudittrail useful as well when it comes to discussion, who entered which numbers when.
    tracking of businessrule execution: should deliver same results as hbrlaunch.log
    other changes being tracked should be meaningless for your requirement, as it tracks the work of the admin-person (Dimensions, Members, Usergroups, Webforms)
    regards
    Rodian
    Edited by: Rodian Abel on 01-Apr-2010 12:20
    Edited by: Rodian Abel on 01-Apr-2010 12:33

  • How to find the Last logon detail of a deleted user?

    I need to find the last logon detail of a deleted user.I have tried with SM20 i got the details,but i coildnt get for few users.Is there any other way to get this?

    Hi Eva,
    Follow below:-
    1. Go to Se16
    2. table name either USH02 or USH04
    3. provide BNAME row as your user name then execute it
    4. you will get all the entries for that user in the next output screen
    5. Check the Column names like
    MODDA 
    MODTI
    MODBE   
    TCODE REPID
    For the Details which you need.
    The descriptions of this columns are as below:-
    MANDT                        
    Client
    BNAME                        
    User
    MODDA                        
    Modification date
    MODTI                        
    Modification time
    MODBE                        
    Changed by
    TCODE                        
    Not More Closely Defined Area, Pos
    REPID                        
    Program Name
    BCODE                        
    Initial password
    GLTGV                        
    Valid from
    GLTGB                        
    Valid through
    USTYP                        
    User Type
    CLASS                        
    User group
    UFLAG                        
    User Lock Status
    ACCNT                        
    Account number
    PASSCODE                     
    Password Hash Val.(SAH1, 160 Bit)
    CODVN                        
    Password Code Vers.
    PWDINITIAL                   
    Indicator: Password Is Initial
    Let me know if you need further help in this.
    Regards,
    Ram

  • How to find last login date of a sql login?

    i want to disable the SQL Logins which are not logged in last 15 days. (I schedule a job every night to check and disable)
    For this 
    i want to find  last login date of all sql logins in an instance if the login didn't log in with in 15 days i want to disable them.
    In SYS.SYSLOGINS table we can see all the logins and 'isntname' tells us if it is SQL login or windows login. 
    but where to find the last login date of SQL log in ?
    Can any one help me?

    Hi HYDBA,
    If you use SQL Server 2005 or later, you can only get the current logon data using
    DMV likes:
    select
    max
    (login_time)as
    last_login_time, login_name
    from
    sys.dm_exec_sessions
    group
    by login_name;
    Related to your question there are two options:
    One is logon trigger,
    which is used to get current login time and login name comparing with the data from
    sys.dm_exec_sessions. If the current login time comparing with last login time is larger than 15 days, then prevent the current login.   
    Another one is to schedule a job, which is used to disable logon who’s current login time
    comparing with last login time is larger than 15 days.
    Hope it’s helpful for you.
    Regards, Amber zhang

  • Terminal - Last login date doesn't make sense. Could someone enlighten me?

    I just launched the Terminal and was just about to start running a maintenance routine when I noticed that the "Last login:" date wasn't the date that I actually last logged in. Here's what it displays...
    Last login: Tue Aug 4 07:08:24 on console
    It states that the last login was Tuesday, August 4th, at 07:08:24 AM. It doesn't state which year, but a quick calendar check shows that the last time August 4th came around on a Tuesday was last year, 2009.
    The last time I actually logged into my computer, was this morning, Thursday, July 16th, at 06:41:16 AM
    I've dug a bit through my Console logs, but can find no reference to the the August 4th date.
    Would anyone have an idea as to why the Terminal would show an old date?
    Thanks in advance!

    Thanks for the response and sorry about my late reply.
    I don't use the Terminal often, perhaps a few times per month, but I am familiar with it enough to probably be considered dangerous! Most of my experience with it has been for maintenance on my machine. If I'm having a problem, I typically venture over to macosxhints.com to look for the solution and over the years have learned how to use Terminal from the suggestions I've found there.
    Anyway... the issue had continued to persist and seemed very odd to me. I have multiple Macs and the others always showed the correct date and time of my last login whenever I launched Terminal. Since my initial post, I've added larger hard drives to the machine in question and decided to do a clean install of Leopard. Since then, Terminal has been showing the correct date and time of my last login.

  • Portal Acitivty report to track Last login date of user

    Hi,
    We need a report which shows the last logins of Users in Portal.  We checked the Portal Activity Report but it is showing only First login.  But we need the Last login how can I configure the Portal Activity report.
    Thanks
    Naveen.

    Hi All,
    Just in case Activity Collector or Portal Activity Report is not sufficient for you and your portal management to gather important usage data, you may be interested in our SAP certified solution, Click Stream.
    May make your life a lot easier when finding the usage stats you need (Easy installation u2013 Free download u2013 Fully functional test version available).
    More information here:
    Website: [www.sweetlets.com/clickstream|http://www.sweetlets.com/clickstream]
    EcoHub reviews: [http://ecohub.sdn.sap.com/irj/ecohub/solutions/clickstream|http://ecohub.sdn.sap.com/irj/ecohub/solutions/clickstream]
    Good luck and hope that helped.

  • SCCM Discovery Reports - Last Login | New resource added/deleted

    Hi
    Require inputs on the concept to consider which parameter for , also if some one would share the query that will be appreciated.
    1- Desktops/laptops network connection – so this is around desktops/laptops last logins to the company networks
    2- Number of new desktops/laptops added to the company network
    3-
    Number of desktops/laptops removed from the company network 
    Regards Sushain KApoor

    info will be used for analysing the data - how many systems introduced to network, removed from network and how many have to connected to network since defined time
    That great that you want to do this but how exactly will CM07 know this info?
    AD is the place to capture this information for items #1 & 2
    Your decommission procedures can answer #3.
    http://www.enhansoft.com/

  • How can I access data from accidentally deleted user?

    I was given a MacBook Pro by a family member. I set myself as the Administrator, but could not get rid of the previous owner's name on the Home folder.
    In my attempts I accidentally deleted something that made the entire computer unaccessable. I can boot up, however, all the work and applications I installed are unaccessable. I can't even open Preferences.
    I used TechTool Pro to start up and explore the drive, and found that the previous owner's name was on a folder with a red-circled minus sign. The data (considerable) was inside, but I can't access it.
    Is there any way I can get access to that data? I slaved the laptop to my iMac and transferred the folder (with 32 gb of data).
    When I tried to open it I got the message: "The folder "sandy....." can't be opend because you don't have permission to see its contents." I used Get Info on the folder and changed Sharing and Permissions to Read and Write, but still no access.
    What can I do, if anything to gain access to that folder?

    http://docs.info.apple.com/article.html?path=Mac/10.7/en/mchlp2968.html

  • Last Logon Date for Deleted Users

    Hi,
    How can I checked to see last logon date for a deleted user-SAP ECC 6.0?
    -Wes

    > ... chekcing USR02 the TRDAT field has been reset.
    In lower releases you could easily have made a big mistake doing that.
    In all releases the security audit log (SM20) is the correct tool for this, but you cannot retro-fit it.
    If the SM20 log is not activated for logon events, then there are several other ways of reconstructing parts of the information but they are all incomplete and a big effort.
    Cheers,
    Julius

Maybe you are looking for

  • Back up Question when using backup not Time Machine

    Hi there, I currently have my Time capsule configured as a file server sharing my files between 3 macs on the TC's wifi and also via the back to my mac service, while outside my home. The 3 macs connected also use the TC as the time machine back up d

  • How to directly write values in a selected region?

    Dear Experts, I'd like to directly write values in a selected region, such as PUT function in MS version. Because I would like to trigger the When statement by target account. Like: *When ACCT *IS Amount *REC (EXPRESS =  Qty * Price) *ENDWHEN Since I

  • Backups Taking up too much space

    All Timemachine backups stored on External HDD.  Storage info is still showing 80GB Backup files on Laptop.  How can I find and delete these backups so I free up space?

  • Icon not active in Y report

    Dear All I have currently developed a Y report on store consumption. In the report Total and sub total option is in deactivated mode. How to make it activate mode. With Regards Arun

  • How to detect that ADF page has completely loaded with OpenScript

    In Selenium tests I use AdfPage.isSynchronizedWithServer to detect whether an ADF page has completely loaded. I attempted to do the same with OpenScript by doing something like: boolean loading = true; while (loading) { String[] result = web.document