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

Similar Messages

  • How do I display peronalized photo recordsets for seperate users after they have logged in?

    Hi everyone,
    I am using Dreamweaver CS3, MacBook Pro Leopard 10.5.6 and MAMP 1.7.
    I have created a login system using the instructions from David Powers book The Essential Guide to Dreamweaver CS3, for a photgraphy website.
    I have uploaded two pages from my login system login_success.php and username.php.
    I am trying to achieve a situation where after the client has logged in successfully, they will be presented with a recordset of their own personal wedding photo's filtered from the image filenames in the database.
    The username.php page is displaying one set of wedding photo's for client A, however when I click on client B's username listed in the list menu, then click the link for username.php, client A's photo recordset is still displaying, not client B.
    How can I get the right photo recordset to display for the right client? Do I have to create separate recordsets for all of the different clients photos?
    Please could someone help me with this, as I am going round in circles.
    Thanks for your time.

    Heya,
    read your thread title; got the just of your desire and disregarded your post. Use a filtered recordset filtered by session variable of MM_username to differentiate between logged in-users info displayed on page. So database table should have a column for username id and you simply filter your recordset based off the session variable of the user id and there you go - your recordset results will be displayed based off logged in users' id.

  • When I make a Smart Album, will the photos that match the Smart Album criteria still be present in their original location(s) in the Library after they go into the Smart Album?

    When I make a Smart Album in iPhoto, will the photos that meet the criteria of my Smart Album still be present in their original location in my Library after they are "brought into" the Smart Album?

    Yes.
    Iphoto works as a Library. Everything is in the Library, and albums (Smart or otherwise) reference the photos from the Library.
    Nother way to think about it: An Event is a place. An Album is a list...
    Regards
    TD

  • 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

  • Upgrade of our 10.4.11 laptop to 10.5 is accomplished and we now need to upgrade Quicktime and iTunes; however, the user name and password is now not working after the upgrade to 10.5.

    Object is to sync address and calendar between laptop with Max OS 10.4.11 and iPhone. Upgrade of our 10.4.11 laptop to 10.5 is accomplished and we now need to upgrade Quicktime and iTunes; however, the user name and password for the laptop is now not working after the upgrade to 10.5., though it was working prior to the upgrade, for file sharing.

    @ BDAqua > I tried your suggestion but no luck. holding opt+command just gave me a blue screen and it rebotted, pushing the disk out of the drive. Yes, the macbook has 1 gb of ram. I realize that the min req. call for 2 gb of ram so i've got an order in for another dimm to put into the machine. Thanks for your suggestions.
    @ a_brody > Yes. The machine was plugged into a power source. The disk promts you to do that and i recall aspect this form other installs. Thanks for the reminder tho! ( btw your second post is like greek to me man!) 
    @ Kuncklesmac > You're right about Snow Leopard being an upgrade from Leopard. I'm aware of this. And yes previously i've been told by Apple that I needed the Box Set (not the family pack.  i am using the family pack for OS Snow Leopard) to upgrade my 10.4.11 mac - they never mentioned adding ram but i figured that out on my own and an apple specialist recommended it when i purchased Snow Leopard and confirmed that I coul duse the Snow Leopard to upgarde from Tiger (10.4.11). I've also read extensively (as i said above) that it isn't necessary (always) to buy the box set. Several 10.4.11 users report having upgraded using the Snow Leopard upgrade disk only (not the Box Set) without trouble on intel macs (also see the apple link i posted). So i'm just ondering how they did it and i cannot. 
    Thanks fo rall yor help!

  • How do I display an informative message to the user on Oracle Forms?

    I have been asked to create a database trigger to fire when a user tries to update a column with existing data in it. If the column however has no data in it then the user can update the column with a value.
    I tried using the RAISE_APPLICATION_ERROR technique but somehow no message shows up on the frond end of the form when a user tries to update a column with existing data in it. The rest of the trigger works fine. It does not allow a user to update a column with existing values in it, yet it allows user to update column with no values in it.
    My problem is displaying a message that reads like this :''Column value must must be 100 "
    Here is parts of my code.
    CREATE OR REPLACE TRIGGER trigger_name
    IF :NEW.ATTRIBUTE2 IS NOT NULL AND :NEW.ATTRIBUTE2 <> NVL(:OLD.ATTRIBUTE2, :NEW.ATTRIBUTE2) THEN
    RAISE_APPLICATION_ERROR(-20002, 'Column value must must be : ' || :OLD.ATTRIBUTE2);
    END IF;
    Now i have tried this the syntax below. It does bring up a message on the front end of the form but it is not the message i have in mind.
    IF :NEW.ATTRIBUTE2 IS NOT NULL AND :NEW.ATTRIBUTE2 <> NVL(:OLD.ATTRIBUTE2, :NEW.ATTRIBUTE2) THEN
    FND_MESSAGE.set_name('FND', 'Column value must
    be '|| :OLD.ATTRIBUTE2);
    FND_MESSAGE.set_token('MSG', 'r21_AP_INVOICES_TRIGGER()
    exception: ' || SQLERRM);
    FND_MESSAGE.RAISE_ERROR;
    END IF;
    Does anyone has any idea?
    thx

    Unfortunately I do not have access to the Form properties. I was only asked to write a trigger to prevent a user from updating a field with data in it, and displaying a message saying that the user cannot update such a column when the user tries to update such a column.
    I know that changing the form properties might be an easier option, but unfortunately i have to everything with the help of a trigger
    Message was edited by:
    user644929

  • Send a mail to the user after first time login

    How to send mail  to the user after the user login for the first time in oim 11g r2

    How to send mail  to the user after the user login for the first time in oim 11g r2

  • Need to enter invoice and payment in the system after a manual check issued

    Client Need to enter invoice and payment in the system after a manual check is issued for some urgent transactions.
    Please suggest few ways to do this .

    Hi,
    If client can maintain a separate check book sequence for manual issue, we can configure a separate payment document with the same sequence and later record the invoice and generate payment ....
    Regards,
    Ivruksha

  • Error in sql server with a trigger (I want to display a customize message, when the user left a blank field or null) How can I do?

    How I display a customize message(with a trigger)when a user left a blank field? I want to the stop the insert statament if the user left  the status field in blank. I create a trigger but now I can't enter a row, i used an instead trigger
    too but doesn't work. I want to display a customize message when the user left the
    status field in blank or null. 
     I have the following code:
    CREATE TRIGGER [dbo].[BLANKFIELD] 
    ON [dbo].[Status] 
    FOR INSERT 
    AS 
    BEGIN 
    IF (SELECT COUNT(*) FROM inserted WHERE Status IS NULL) =1
     PRINT 'Please Fill the Status  field is required'
    Rollback;
    END 

    I agree with other comments that you should do this with specifying that the column is NOT NULL to prevent it from being NULL and a constraint if you don't want it to be blank (spaces or the empty string - note that the empty string is not the same thing
    as NULL).
    But for completeness, the reason your trigger does not ever allow you to enter a row is the code
    IF (SELECT COUNT(*) FROM inserted WHERE Status IS NULL) =1
    PRINT 'Please Fill the Status field is required'
    Rollback;
    Since you don't have a begin/end block after IF, the only conditionally executed statement is the one immediately following the IF (that is the PRINT).  So the Rollback is always executed whether or not the IF is true and so all updates are rejected.
    So if you were to do this in a trigger you could do something like the following
    CREATE TRIGGER [dbo].[BLANKFIELD]
    ON [dbo].[Status]
    FOR INSERT
    AS
    BEGIN
    IF EXISTS(SELECT * FROM inserted WHERE Status IS NULL)
    BEGIN
    PRINT 'Please Fill the Status field is required';
    Rollback;
    END
    END
    (As José noted, there can be more than one row in the inserted pseudo table, so you don't want to test whether the COUNT = 1, instead just whether one or more rows exist where the Status  is null.  If you want to prevent Status is NULL, or all
    spaces, or the empty string, then your IF statement would be
    IF EXISTS(SELECT * FROM inserted WHERE ISNULL(Status, '') = '')
    Tom

  • T.Code for  issues return by the user after month closing

    Dear SAPient's,
    Give us the transaction facility available in SAP to account the issues
    return by the user after month closing.
    regards,
    Bijay Jha

    Dear SAPient's,
    Actually I want to know that when the Goods Issued and from that some goods are returned back due to any reason.
    I want to know Is there any T.Code from which i can get full details of Goods which is returned after Issuing in one month.
    Warm Regards,
    Bijay Kumar Jha

  • How to capture the user who has logged into the portal.

    Hi,
    How do I capture the user who has logged into the portal.
    HOw do I retrieve the first name and last name of the logged in username.
    Could someone provide me a related link or PDF to work on this.
    Thanks,
    Suvarna

    Hi suvarna,
    Check the following code
    ISearchResult rst = UMFactory.getUserFactory().getUniqueIDs();
                      IUserFactory usf = UMFactory.getUserFactory();
                      IUser iuser = null;
                      IUserListElement userElement = null;
                      int i = 0;
                      while (rst.hasNext()) {
                            iuser =
                                  UMFactory.getUserFactory().getUser(rst.next().toString());
                            String email = iuser.getEmail();
                            String fname = iuser.getFirstName();
                            String lname = iuser.getLastName();
    regards
    Anil Dichpally

  • Able to login into Portal with http but not https

    NT4
    8.1.6.3 DB
    9iAS 1.0.2.2
    Oracle Portal 3.0.9
    I have been following Note 136153.1 to configure Oracle Portal to use HTTPS.
    I am able to login into Portal using http(e.g) http://machinename.net/pls/portal30. I have configured http.conf asdescribed in
    136153 and used the ssodatan script to associate the login server with https.
    I am able to connect to https://machinename.net and can see theSecurity
    Certificate. I am also to login into
    https://machinename.net/pls/portal30/admin_/gateway.htm?schema=portal30 and see
    the Gateway configuration. It is only when I go to
    https://machinename.net/pls/portal30 I receive the error message -
    Error: Timeout
    occurred whilst retrieving page meta data.
    If I revert the settings back toPort 80 in http.conf back to Port 80 and
    re-run ssodatan using http://machinename.net/pls/portal30 etc then I am able to
    succesfully log intoPortal
    Can anyone help with this?
    null

    Hi Arun,
    Most of the times unable to login to portal causes due to network problems
    Please ensure in backend system all application servers are up in SM51
    if it is happening every day same time check java patches

  • Not able to login into portal

    Hi,
    from today morning our user facing problem,
    no one can login into portal, when use enter user id and password in logon page then press to login, the logon page appear agains without any message?
    what could be the reason?
    EP version 7.0
    database  : SQL 2005
    regards,
    kinjal

    HI,
    look like problem with keystorage.
    open J2EE visual Admin tool from following location
    <drive:>\usr\sap\SID\JC<inst_no>\j2ee\admin\go.bat
    connect it.
    expand server -> services -> click on Key Storage -> under view select TicketKeystore
    delete SAPLogonTicketKeypair and SAPLogonTicketKeypair-cert and create it again with CN=SID,OU=SAP Web As,O=SAP Trust Community,C=IN
    C= your country
    restart the portal server.
    regards,
    kaushal

  • Administrator Not able to login Into Portal

    Hi,
    Adminitsrator not able to login into Portal system. I could access succesfully in visual admin .
    Other users can enter in portal screen. I have reset administrator password even then not able to login..
    - Kritene

    Hi Kristene,
       The admin user can get locked due to numerous unsuccessful logon attempts. To correct this situation, you have to use an emergency user SAP*. In the SAP Library, use the following path: "SAP Library -> SAP NetWeaver Library -> SAP NetWeaver by Key Capability -> Security -> Identity Management -> User Management Engine -> Administration of Users, Groups, and Roles -> Activating the Emergency User".
    Log on to the Visual Administrator using the emergency user and unlock the Administrator user. Afterwards, deactivate the emergency user.
    Regards,
    Pooja.

  • Framework page error not able to login into portal

    Hi,
    we are using EP 6.0 and it's working fine today i'm trying to login into portal but it's gives me the following error.
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/every_user/general/defaultDesktop/frameworkPages/frameworkpage/com.sap.portal.layoutPortal1_Framework
    Component Name : com.sap.portal.layouts.framework.framework
    i didn't understand what happened, we are not doing any change in portal.
    regards,

    Have you tried looking at the LogViewer service in Visual Admin? defaultTrace.trc may contain more information which can help solve the problem. If you can post the error messages you see for the time you log in, we may be able to help more.
    Regards
    Darren
    <a href="http://www.fortybeans.com/">Read my blog</a>

Maybe you are looking for

  • Using database connection in a servlet and get errors after 8 hours

    Hey, I'm running a poker script using applet/servlets and it works great. But for some reason about about 8 hours that database layer stops working. At first I thought it was the connections to mySQL that were timing out (because im using connection

  • My iphone 3GS will no longer sync with my HP laptop

    My iphone stopped syncing through Itunes with my HP laptop.  I don't know what happened.  This is mainly with my microsoft outlook.

  • QuickVPN on Verizon 4G not working

    QuickVPN is not making a connection over the Verizon 4G network. After "Activating Policy" it tries to verify the network, but always times out. I get the message "remote gateway is not responding. Do you want to wait? My same setup works on the 3G n

  • Email addresses not alphabetizing

    I get the feeling this is a pretty easy problem to solve, but I've googled it and can't seem to find the solution. My boss wants me to drag and drop a group from her address book into the TO: field of a new message. Even though the names are alphabet

  • Lion OS Downloaded but Not Installed???

    Downloaded Lion OS to MacPro.  Rec'd install prompt, agreed to terms and hit install/continue.  It was not installed.  How do I find it to install again. App store says downloaded and no option to re-download.  I had/have OS 10.6.8 installed.