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

Similar Messages

  • 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

  • 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

  • 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 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 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

  • How to check Agent login details in a particular CTIOS

    How to check Agent login details in a particular CTIOS

    Yes, you'll need to provide more information.  If you login a supervisor to the CTIOS supervisor desktop who is part of every team you would be able to tell every agent who is logged in and what state they are in.
    david

  • 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.

  • 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 -- 

  • How to know last login in oracle database 9i

    hi all,
    I want to know the last login in oracle database 9i.
    Can some one help me.
    Thanks

    Hi,
    Do you have auditing enabled then you can get details else
    Enable it and execute the below one - then login and logoff times will be recorded for users
    audit connect;
    - Pavan Kumar N
    Oracle 9i/10g - OCP
    http://oracleinternals.blogspot.com/

  • 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)?

  • Display Last Login and Username on custom template or banner section

    I have a spaces deployment and I use a custom template for a group space. I would like to put the current user's name and the last login time.
    I am wonderinf how I can do this with the custom spaces template page.
    I would also appreciate any information on how to even get that information , especially the last login time, without spaces - since then I can find a hack to work it in somehow. Does weblogic even track the last login?
    Thanks

    There is a simple work-around for the issue that you don't have access to backing beans in your template.
    Create a taskflow and put the taskflow in your template. A taskflow has its own scope were you can add managed bean. This way you can add easily business logic in your template... Just put it in a taskflow.
    There isn't an EL that give you more information about the user... Maybe there is a way to retreive it. I suggest you ask this in the ADF forum: JDeveloper and ADF
    They might know of a way to retreive user information from a backing bean or default EL value.

  • Display Last Login Information ?

    I would like display the last login information for user after success login. I expect to show it via add a dialog or a separate JSP.
    Where can I get these information and where to add the code ?
    Thanks.

    Hi,
    Here is an SAP note talking about changing the back ground color.
    I will say take this one as starting point and hope it will help you.
    1291807
    This says...
    Go to
    Program Files\Business Objects Enterprise 12.0\warfiles\WebApps\AdminTools\
    Edit the default.css file with desired values and rename to test.css.
    Copy the test.css to
    Program Files\Business Objects\Tomcat55\webapps\InfoViewApp\res\schema.blue\
    Change the properties of the Infoview application from CMC--> Applications to show the test.css as the style sheet
    Leave the rest of the options as the default
    Restart the webi processing server
    Restart Tomcat
    Regards,
    Bashir Awan

  • 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

  • How to find remote login details ?

    Hi All,
    I am using windows work station to connect to oracle database. we are using proxy server to connect to oracle database. now , my machine from where I connect is "aajit", but when I queried the database. it returns the server's os_user , terminal and not the the details of the client. just wondering , how to get client's details
    SQL> select SYS_CONTEXT('USERENV', 'SESSION_USER'),
             SYS_CONTEXT('USERENV', 'OS_USER'),
             SYS_CONTEXT('USERENV', 'HOST'),
             SYS_CONTEXT('USERENV', 'TERMINAL') from dual ;  2    3    4
    SYS_CONTEXT('USERENV','SESSION_USER')
    SYS_CONTEXT('USERENV','OS_USER')
    SYS_CONTEXT('USERENV','HOST')
    SYS_CONTEXT('USERENV','TERMINAL')
    SYS
    oraalmp1
    infa4pbx
    pts/9

    If that's the case,
    Please observe the below exercise
    I'm connecting from a machine apple to a machine oracle (DB server)
    SQL> select SYS_CONTEXT('USERENV', 'SESSION_USER'),
    SYS_CONTEXT('USERENV', 'OS_USER'),
    SYS_CONTEXT('USERENV', 'HOST'),
    SYS_CONTEXT('USERENV', 'TERMINAL') from dual ; 2 3 4
    SYS_CONTEXT('USERENV','SESSION_USER')
    SYS_CONTEXT('USERENV','OS_USER')
    SYS_CONTEXT('USERENV','HOST')
    SYS_CONTEXT('USERENV','TERMINAL')
    CSM
    csmdba
    apple
    pts/60
    and
    SQL> select machine from v$session where username='CSM';
    MACHINE
    apple
    Even if i connect from the windows command prompt, I'm able to see my windows machine name
    Could you explain why Oracle is giving the actual client machine from where I've connected here?
    regards,
    CSM

Maybe you are looking for