Wants delete user based on their last login details...

Hi All,
I have one question regarding oracle database user management. I have approx 300 users in my each Database and I know many of them are not actively used. I want to generate users report based on their last login information. I want to fetch list of users who is not logged in database since last 4 months and are eligible for delete operation.  Please guide me how to find this details.
Thanks in advance...

user12115, but really even if the logon time was not present and you only had the logoff time you know when the customer last used the system and relistically you could work with that.  Rather than audit user session connection due to the large number of connections/disconnects we have per day we created a database logon event trigger that updates an IOT for the username, logon_date of the OS user connecting.  If no row is updated we insert the username.
Also keep in mind that many web based applications connect to the Oracle rdbms using an application username as not as the real end user.  In such a case auditing will not catch the real end user nor will the logon trigger unless the application uses dbms_application_info to post the real end username to Oracle.  If this is not true in your shop today it might be tomorrow so keep this potential issue in mind.
HTH -- Mark D Powell -- 

Similar Messages

  • How to find the last login details of a Sharepoint SSRS user

    How to /where to find the last login details of SSRS sharepoint user. Is there any table where we can check the last login details of user. This is because we are facing an issue of Subscription failure due to Sharepoint token expiration. If user logs in
    before 24 hours of his last login time, he is able to get his report subscription. If not, below error is thrown.
    The permission granted to user 'domainname\username' are insufficient to perform this operation.

    Hi,
    According to your post, my understanding is that you want to monitor the last login user’s details.
    There is no out of the box way to achieve it in SharePoint.
    We can use cookie to be a flag for checking whether there is an user just log in. After the page loaded, if the cookie is null, it suggests that there is an user just log in our site, then we
    can get this user’s information using JavaScript Object Model and add the information into a custom list. With this list, we can monitor user’s login details.
    Refer to the following link:
    https://social.technet.microsoft.com/Forums/en-US/0cd4d531-cb61-4d90-aa70-413267f4a735/how-to-know-login-and-logout-details-of-a-user-in-sharepoint-online-2013?forum=sharepointdevelopment
    Besides, here are two similar posts for your reference:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/1a35283e-0f2a-49b8-b330-801a3cfcd890/programatically-get-all-current-logged-in-users-list-for-a-sharepoint-site?forum=sharepointdevelopmentprevious
    https://social.technet.microsoft.com/Forums/en-US/10953be3-cb1c-40c7-9454-545c8338b551/how-to-know-login-users-count-and-their-details-in-sharepoint-2010-web-application?forum=sharepointgeneralprevious
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • Info of Last login details of Users

    Hi
    I want to information of last login details of users using MAXL cmd....
    is there any such cmd in Maxl which will give out put of users last login..... if so can u any one help me in this
    Thanks
    SSS

    This is just one of several areas where MaxL fails to live up to its potential to completely replace Esscmd. Development of MaxL seems to have essentially stagnated after the inclusion of MDX. We still run a handful of Esscmd scripts (such as GetUserInfo so we too can get last login) simply because MaxL does NOT have a substitute for everything Esscmd offers.
    The prevailing response I always see is "well, gee, you can always write a Java API program to do ...." which is a fine response for a developer, but kind of weak for those whose primary responsibility is database administration with the occasional script thrown in for good measure. The complexity of System 9 and later releases is now making it virtually mandatory to learn and use Java to accomplish anything. Perhaps I am just pining for the good old days, but making simple things harder than they were before strikes me as a step backwards.
    Oh well, enough ranting. Time to make the cubes sing once more.

  • Last Login details of the user

    Hi Everyone,
      Is there any transaction code to find out last login details and the screens accessed by the user other than SM04, SUIM, RSUSR200,
    Rgds,
    Sailatha,

    Hi,
      Some of the server programs ( ZLayouts, report programs that are in production ) have been modified by user DDIC, when checked the layout attributes, the date & time are shown as today, not able to figure out the transactions accessed by the user as SUIM is not showing the login details correctly, how do we find out the screens, programs accessed by the particular user?,
    Rgds,

  • Last login details to a transaction

    Hi
      Is there any table or any function module which stores the last login details of a user into a particular transaction code. For ex. i want to know the last login details of a user to the transaction code SBWP or SO01.
    Regards
    Haritha

    You can check the stats with RSSTAT20 or RSSTAT26. You can view the details by giving the username in the selection screen.It will display the program , screen number , and when accessed ,etc.,
    You can find out other information from user table USR02 trx SU01, or from statistic logs (trx. STAT).
    You can use transaction code ST03N.
    1. Go to tx code - ST03N
    2. Under "Workload" you can select your "Instance or Total" so that it expands and shows you Days, Week, Month.
    3. If you want to look at the transactions executed for a particular day, lets say, then double click on any day.
    4. At the bottom left you get "Analysis Views"
    5. Select & expand "User and Settlement Statistics"
    6. Double click on "User Profile"
    7. On the right side of the window you get a list of all the users
    8. Double click on a particular user you want to view the details of.
    9. The new screen will display the "Transactions/Reports Utilized by User XXX"
    If you wanna track which users executed a particular transacation then follow this:
    10. In "Analysis Views" expand "Transaction Profile"
    11. Double click on "Standard"
    You can view the list of Transactions and Reports.
    12. Double click on the Tx Code or Report you wanna check and it will show the Use of it.
    This will help you.
    You can check user logon date via T code SUIM.Or you can check SE16 t-code table USR02 Or if you check history like T code used particular date or period you used Tcode ST03N.
    Regards
    vasu

  • Last login details in Apps 11i

    Hi All,
    Is there a script to find the last login details of a User in Oracle Apps 11i ?
    Thanks,

    Afia wrote:
    Hi All,
    Is there a script to find the last login details of a User in Oracle Apps 11i ?
    Thanks,Query FND_USER (LAST_LOGON_DATE column) -- http://etrm.oracle.com/pls/trm11510/etrm_pnav.show_object?c_name=FND_USER&c_owner=APPLSYS&c_type=TABLE
    Also, see old threads for the similar topic -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Connected+AND+Users&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Need to display last login details to the user after they login into portal

    Hi All,
    As per our requirement ,we need to display to the user,the following things:
    1.Last login date and time will be maintained and displayed to the user after login.
    2.Last unsuccessful login date and time will be maintained and displayed to the user after login.
    3.No. of unsuccessful retrials before locking the user will be maintained and displayed to the user after   login.
    Therefore we are creating a webdynpro application wherein we are making use of the UME API and trying to retireve these information.
    The methods i am using are:
    IUserAccount.getLastFailedLogonDate() // To fetch the Last unsuccessful login date and time
    IUserAccount.getFailedLogonAttempts() // No. of unsuccessful retrials
    IUserAccount.getLastSuccessfulLogonDate() // Last login date and time
    But the problem is IUserAccount.getLastSuccessfulLogonDate() is deprecated and i unable to use it,and also i  am unable to get the value *IUserAccount.getFailedLogonAttempts() * I am only geting zero.Can anybody let me know alternative method to get this details.
    Request you to guide me and help me to resolve this issue.
    Thanks and Regards,
    Nishita Salver

    Hi,
    I hope you are trying to show your login date from SharePoint List.
    My suggestion is 
    1. by using ECMA Script ,retrieve values from that list and show the same in Master Page.
    2. If you are not comfortable with ECMA, develop Visual Webpart and add the Visual Webpart in master page by using SharePoint Designer.
    Please let me know ,if you need further guidance.
    Don't forget to mark it as an Answer if it resolves your issue and Vote Me as helpful if it useful.
    Mahesh

  • Need to Apex App user login last login details

    Hi All.
    how will get the Apex App user login details ? is it have any table or please suggest me on this...

    Not sure what is your exact requirement, but did you look at "Monitor Activity" under "Administration" (you should be an Administrator to the workspace)?

  • How to Display last Login Details in MasterPage

    Hi,
    we have one requirement,i.e.When any user logged into the site, we need to display last login time for that user.
    We are getting last logged user date and time based on user id and updating that value into the list column(like this 4/3/2015 8:38:32 PM).But we need to add this into default master page.
    How to do this one ...can anyone suggest me ....
    Thanks...

    Hi,
    I hope you are trying to show your login date from SharePoint List.
    My suggestion is 
    1. by using ECMA Script ,retrieve values from that list and show the same in Master Page.
    2. If you are not comfortable with ECMA, develop Visual Webpart and add the Visual Webpart in master page by using SharePoint Designer.
    Please let me know ,if you need further guidance.
    Don't forget to mark it as an Answer if it resolves your issue and Vote Me as helpful if it useful.
    Mahesh

  • Why are deleted user accounts showing up in login window and fast user switching menu?

    There are several old user accounts, just test accounts when I was studying for ACSA that I deleted, which continue to show up in the login window and the fast user switcher menu. I deleted them before upgrading to Lion (I think it was before). The accounts do not exsist in the /Users folder, nor even the /Users/Deleated Users folder. Additionally they do not show up in the list of users in System Preferences. Can anyone give some advice on how to remove these "ghost" accounts from the login window and drop down menu?
    Thanks
    dc

    Hi. Thanks for the link. Sorry it took me a while to get to this, the problem is not a show stopper, so to speak, so tried your advice when I had the time. Unfortunatly it did not work. Any other suggestions? Thanks.

  • Populate the EmployeeID attribute of a user, based on their security group membership in Active Directory

    Hey guys, I need to create a script that assigns a value to the EmployeeID of every user that is a member of a particular AD security group.
    For example, there are the following groups - Accounting_01, Accounting_02, Accounting_03. The script has to read what members there are in these groups and assign to the people of Accounting_01 an EmployeeID of 01, to the people of Accounting_02 an EmployeeID
    of 02, and to the people of Accounting_03 an EmployeeID of 03.
    I have a script that adds a user to a security group, based on the value of a certain attribute, but not the other way around. Have you written such a script? Thanks in advance

    I haven't tried the code, because I don't have AD cmdlets.
    But I see some discrepancies between the documentation and your code.
    Looking at http://technet.microsoft.com/en-us/library/hh852287.aspx (Set-ADUser cmdlet) we can read for the
    -Replace<Hashtable> parameter: ... Use this parameter
    to replace one or more values of a property that cannot be modified using a cmdlet parameter ...
    But the OP referred to EmployeeID, which is a Set-ADUser cmdlet parameter (look for -EmployeeID),
    thus, cannot be used with -Replace<Hashtable> parameter (as per the documentation).
    Also, the documentation states for this same
    -Replace<Hashtable> parameter: ... To modify
    an object property, you must use the LDAP display name ...
    And the LDAP display name for EmployeeID is employeeID, and not employeeid as in your code (although I'm
    not sure if LDAP display name
    is case sensitive).
    As you say your code works correctly, I
    suspect that you created a new property named employeeid, which is not the same referenced by the parameter
    -EmployeeID.
    The documentation merely says that it can be used to modify attributes that do not have their own parameter. If they were to include a parameter for every AD attribute the list would be huge. It doesn't imply that -replace cannot be used instead of the defined
    parameters.
    I must admit that I didn't realise that -EmployeeID could be used as I didn't consult the documentation before I wrote the code but I can confirm that using the method I posted the employeeID attribute was modified. It didn't create a second attribute with
    different letter casing.

  • Deleting user account and their /home directory

    hi,
    I'm a parent volunteer helping to admin a mac lab at my son's K-5 public school. The lab is running o/s 10.5 server on a mini with about 30 imacs as clients.
    I noticed that when I delete a user in workgroup admin, the user's home directory is not deleted at the same time. Is there a way to force the home directory of a user to be deleted at the same time a user is deleted. Its extremely tedious to have to delete the home directories manually.
    This question was previously posted under Open Directory forum, but I've not received any replies so I thought I would try here. Thanks in advance for your assistance.
    William

    william_sf wrote:
    when I delete a user in workgroup admin
    Workgroup Manager only deletes the user record in Open Directory. There is no known preference that I know of that will delete their data (the home folder) at the same time.
    Welcome to the world of the SysAdmin.

  • Is it possible to authenticate a user based on their NT/2000 log-in informatin on their desktop?

    When a person logs into their desktop on an NT/2000 network that computer holds their username and permissions. Can iPlanet Portal use that information to authenticate users and create a personalized view, with the user manually having to sign in?

    I think so its not possible. But Portal supports authentication against NT database.

  • Displaying last successful login details of user

    Hi,
    I want to display last successful login details (timestamp may be) on Portal homepage.
    By configuration
    Is there any configuration that we can do to display it on Masthead area may be?
    By code
    I found following two links that talk about direct access of Portal table.
    http://wiki.sdn.sap.com/wiki/display/Snippets/DirectAccesstoDatabaseTables
    http://help.sap.com/saphelp_nw04/helpdata/en/48/6aa9429b930b31e10000000a1550b0/frameset.htm
    In this case, what query should I write to get the last login details of user?
    Please help.
    Thanks and regards,
    Amey

    Hi Ameya,
    Thanks for reply.
    1. I was wondering if there is any System admin level configuration we can do to show this info?.
    Is there any such facility?
    2. Through code, this is what I did: -
    I am getting the last logon timestamp by following code (inside JSPDynpage) : -
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.Statement;
    import java.sql.Timestamp;
    import javax.naming.InitialContext;
    Connection con=null;
    Statement stmt=null;
    ResultSet rs=null;
    InitialContext ctx = new InitialContext();
    DataSource ds = (DataSource)ctx.lookup("jdbc/SAP/EP_PCD");
    con = ds.getConnection();
    stmt = con.createStatement();
    String connectedUser = _request.getUser().getUniqueName();
    rs = stmt.executeQuery("select MAX(TIMESTAMPHOUR) from WCR_USERSTAT where LOGONID='"+connectedUser+"'");
    int m = 0;
    while(rs.next()){
         m++;
           Timestamp ts = new Timestamp(rs.getLong(m));
         lastLoginString = ts.toGMTString();
    I guess selecting 'MAX' value of time-stamp would return the latest logon time.

  • Deleting users in MDM

    Hi All,
    I have a req where my MDM users are also maintained in the LDAP databse.
    Now i want that whenever any user moves out of the company,his/her name is removed out of the LDAP directory.
    On similar lines i want that using some kind of logic either through JAVA api or ABAP apis. this information be fetched form the LDAP server and call the delete function on the corresponding users in MDM.
    I know this is possible but need to know how to do it  and whether ABAP /JAVA apis should be used as we need to connect LDAP server to MDM server so not sure if ABAP or JAVA can be used.
    Due to other complication in integrating MDM to LDAP directly in 5.5 we do not wish to go with the MDM-LDAP integration but try using the APIs instead as it is only for a simple users authentication request.
    Please suggest
    Thanks
    AJ

    The best way to achieve this will be with the API's.  You could probably develop a web service that deletes users based on user id, and then call that from your LDAP solution.
    The obvious problem is that if the user is involved in a workflow, has records checked-out, has records created by or is the owner of validations or assignments, then you cannot delete that user.
    Best is to flag the user as inactive.
    Regards

Maybe you are looking for

  • Attempting to transfer large mov file from iphone to PC

    I've got a large mov file I'm trying to transfer to my PC.  I have 57 GB of free space on my PC, yet I'm told there's "not enough storage" to complete this operation.  Any ideas? Thanks for your advice.

  • My itunes is not wirelessley recognizing any of my iphones or ipad, only when plugged in

    Neither my husbands phone, which is my old 5C or my new iphone 6 nor my ipad is being picked up by itunesany longer. It will recognize it when I plug the phone(s) into the MAC but not wirelessly Help!

  • Bopomofo Language Input Option

    I downloaded the application for inputting Chinese characters using bopomofo.  It seems like the keyboard is missing some bopomofo's.  Does anyone know how to use this function fully??  Thanks! Solved! Go to Solution.

  • Please explain this example

    1* select to_char(sysdate,'dd:mon:rr hh:mi:ss'),round(sysdate,'day') from dual SQL> / TO_CHAR(SYSDATE,'D ROUND(SYS 27:feb:06 11:58:32 26-FEB-06 1* select to_char(sysdate,'dd:mon:rr hh:mi:ss'),to_char(round(sysdate,'day'),'dd:mon:rr hh:mi:ss') SQL> SQ

  • Display Rules

    Hi, Our portal platform is NW04 Stack 11. I am a super_admin and I am trying to assign a desktop to my username. When I do this the desktop does not change. It stays on the default one. I even tried creating my own display rule and adding that to the