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.

Similar Messages

  • 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

  • FTP-says login and username incorrect Dreamweaver CS4

    The error message I get is: cannot make connection to host. Your username or password is incorrect. I previously didn't have any problems connecting to this site on Dreamweaver and Contribute. Now I can't connect on Dreamweaver CS4, MX and Contribute. All my other sites work just fine. I have tried checking and unchecking passive ftp. I've tried different ways to write host directory ie. no directory, forward slash in front, in back, etc. My other sites do not require a host directory name. I would so appreciate any help on this. Thank you.

    I'm sorry to say I'm somewhat of  newbie so I really don't understand how to use the 3rd party clients such as FileZilla. I do know that other people can connect to this website using Contribute with the same exact info that I am using because I set them up to use Contribute. Does that help?
    From: John Waller
    Sent: Thursday, January 06, 2011 2:30 PM
    To: Shelley Dodd
    Subject: FTP-says login and username incorrect Dreamweaver CS4
    Have you tried connecting to that site using a 3rd party FTP client such as FileZilla? (to confirm that nothing has changed server side that you're unaware of)

  • 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

  • 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

  • Exporting images in PDF and broadcasting with custom template error in BI 7

    Hello! We're in the process of creating broadcast reports and are running into some problems. We need someone with experience exporting PDF's or creating broadcasts using custom web templates in 7.0.
    Our issue is two-pronged:
    1) We want users to be able to export (with WAD command) web reports to PDF with the company logo. We have a custom web template with just a JPG image and analysis grid. But for some reason, when this template gets exported to PDF, the image does not get included. We've tried embedding the image into table, group, container, container-layout to no avail. Any suggestions?
    2) We also need the company logo in PDF broadcast reports. We replaced the standard broadcasting web template 0BROADCATING_TEMPLATE (using RSCUST27) with a custom one, but we immediately get the "error loading template ..." when trying to access the Broadcaster. There seem to be no OSS notes for this. 
    Please let me know if you need any additional information.
    Thank you!!

    1) We want users to be able to export (with WAD command) web reports to PDF with the company logo. We have a custom web template with just a JPG image and analysis grid. But for some reason, when this template gets exported to PDF, the image does not get included. We've tried embedding the image into table, group, container, container-layout to no avail. Any suggestions?
    which std template are you replacing with this custom template?
    Broadcasting
    Query Precalculation
    Report Precalculat.
    Enterpr. Report
    Ad Hoc Analysis
    I mean which template does online link default to when it is clicked.

  • How to display Last modifed and Last modifed user in Apex?

    Hi All,
    Every time i need to display the "Latest Modifed" and "Last Modifed" data fetching from database and display the resultant in the right corner, similarly how we will display user name when we log into Apex application.
    Hints:
    1. I have created a two level tab and under Body i have am using like this
    <td valign="top">{div id="userId" class="t16NavigationBar"><span id="spanUserId" class="t16NavigationBar"> (&APP_USER.)</span>|{a href="&LINK." class="t16NavigationBar">&TEXT.</a>|&F105_ENV_NAME. #REGION_POSITION_08#</td>
    2. From the above syntax we are using the three attributes to display the data.
         &APP_USER.
         &TEXT.
         &F105_EVN_NAME.
    3. The Query which i am using to display the &F105_ENV_NAME. is
        SELECT DECODE(INSTR(global_name,'.'),0,
    global_name,
    SUBSTR(global_name,1,INSTR(global_name,'.')-1)) into :F105_ENV_NAME
    FROM global_name
    4. Similar instead of displaying the Enviornmen name i have to dsiplay these coulums from X table.
        Latest Modifed By
        Last Updated By
    How i can display such kind of these data, since every time it will differ. Can any one hep me on this.
    Thanks,
    Anoo..                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    e
    This is some what equal instaed of displaying separted, in your screen you have three tabs, for a example you have ar showing for tabs rite..They only i want to dsiplay the person name.
    For example if you consider your screen you have shown "update anony policy"
    Now i want to display the name directly like this "update anony policy:Anoo" insated of dsiplaying in a separte screen.
    Hope you have got my point.
    Thanks,
    Anoo..

  • Ssh: /etc/issue display between login and password prompts

    Hi All,
    I currently have ssh installed on one a Solaris 10 (non-global) zone. I have configured the sshd_config to run on protocol 2 and unhashed the 'Banner /etc/issue' parameter.
    When I attempt to log into this zone via ssh I get (in this order)...
    1. A login prompt
    2. The message I have put in /etc/issue
    3. A password prompt.
    Is there some further configuration I need to consider here?
    Any help would be great.
    Thanks.

    Sorry, it's probably worth mentioning that what i would ultimately like to do is have the message in /etc/issue display itself prior to asking for a login, not after as it currently is.
    Thanks.

  • Custom Template for Third Party Balance Summary Report(Java type executable

    Hi Al,l we have a requirment to have a layout with some of the fields from
    Third Party Balance Summary Report( Which is a Java type executable and
    Data definition has Data Template attached(.xml)).
    I tried in below way.
    Coppied the Third Party Balance Summary Report program with same application and parameters
    with. Then defined a Datadefinition with my concurrent prog short name
    attached the same standard .xml file(Not sure what it is) and developed a custom template with
    a custom rtf(excel output type), and submitted the program
    the output is generated in excel but my custom .rtf layout is not getting applied
    rather it is showing same layout as in standard.
    Some thing I am missing here or else it is not the way of changing the
    template.
    If any one know how to do this please let me know.
    My client want only some files from the standard report(no need of new fileds)
    with output type xls.
    Thanks in Advance.
    The same content is posted in Custom Template for Third Party Balance Summary Report(Java type executable sorry for duplicating the thread, just for increase the visibility for my issue I did this.

    I gave up on using a different font or figuring out if I could use Times New Roman's built-in fractions visible in Font Book (as unicodes) and did a work-around based on Michael Wasley's tips in this discussion.
    https://discussions.apple.com/message/11622842#11622842
    I adapted it however and think it looks a little better.
    Font: Times New Roman 12 point
    I used the fraction bar in 12-point (Shift-Option-1) for automatic kerning.
    For the numerator, I changed the font style to superior (12-point).
    For the denominator, I changed the font style to subscript (Shift-Command-hyphen) and reduced the font size to half, or 6-point using the short-cut Shift-Command-<.
    When the fractions occured in my footnotes (9-point), I used 4-point in the denominator; 10- and 11-point, I used 5-point in the denominator. This seemed to produce the best result when printing.
    Thank you, Michael.
    -Dottie

  • SolMan 7.1 Setup Monitoring - Custom Template is not display to Assign

    Hi All,
    SAP Solution Manager Configuration: Technical Monitoring - System Monitoring
    While creating custom template, i am facing issue, Please check it out below screens,
    After done, all setup, the custom template should display to apply and active.But it is not displaying
    This is the error msg below,
    Please help me out
    Regards
    Jay

    Hello Jagadish,
    thanks for your support.
    I went with Visual Admin tool to node SID - Server - Services - SLD Data Supplier.
    I saw some information - how can I check here?
    Afterwards I went to node SID - Server - Services - JCo RFC Provider and saw informations about client, user password. How can I check these informations? I stopped the SAPSLDAPI_SID RFC listener and started again. This worked without problems.
    I closed visual administrator and tried to login again via http://hostname:50000/sld. After cklick on button "Administration" there is no reaction - I get a blank site with no information on it.
    When I start configuration again through SOLMAN_ADMIN system hangs now in step 107 " SLD Server Configuration".
    Regards,
    Julia
    Edited by: Julia Bayrhammer on Oct 26, 2011 9:04 AM

  • Custom window not displaying it's custom template

    I have created a custom window class named CrackenWindow, and a custom template in the Generic.xaml resource dictionary.
    After I create a new window, which inherits CrackenWindow, nothing happens. The visual remains the same and I cannot use CrackenWindow's extra functionality. If someone has the time, please review what I'm doing wrong. I have uploaded the code to https://onedrive.live.com/redir?resid=fa5f36f7b4d34c12%21106.
    Thank you for your time,
    suzi9spal

    I was kind of put off by seeing a collection of stuff there when I took a quick look on onedrive.
    Are you sure you want this thing to be a custom control rather than just a window that has a template?
    Custom controls ought to be the choice of last resort.
    If you explain what you're trying to do, maybe I/we can suggest an alternative route.
    Like what extra functionality?
    You can add eventhandlers, dependencyproperties and whatnot in a base class.
    For example:
    public class BaseFancyWindow : Window
    public BaseFancyWindow()
    CloseCommand = new RelayCommand(CloseExecute);
    public RelayCommand CloseCommand { get; set; }
    private void CloseExecute()
    this.Close();
    and use that
    <local:BaseFancyWindow x:Class="wpf_WindowChrome.Window6"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:wpf_WindowChrome"
    Title="Finished Fancy Window" Height="300" Width="300"
    Style="{StaticResource FinishedWindow}"
    >
    <Grid>
    <TextBlock Text="This is some content in the window"/>
    </Grid>
    </local:BaseFancyWindow>
    And I have a template which is just in a resource dictionary which makes that window look
    Hope that helps.
    Technet articles: Uneventful MVVM;
    All my Technet Articles

  • Custom Template on Sales Order Form -- Actions Preview and Print

    Hello All,
    I want to get the custom Template enabled for Layout Template associated to Transaction Types.
    1) Go to Responsibility: Order Management Super User
    2) Setup > Transaction Type > Define
    3) Query Transaction Type > In the field "Layout Template" assign it to the appropriate template available in the LOV, i want the custom template available.
    Please let me knpw.
    Thanks
    Rakesh

    Hi,
    If you search in the XML Publihser Administrator responsibility for the Templates the are getting displayed already (Sales Order RTF, Sales Agreement RTF, ....etc)
    you can able to find out the Template Data Source which is of .XSD extension . So if you create a new Template and Assign this .XSD based Data Definition to your Template then automatically your Custom Tempalte will come in the Layout list of transaction Type Setup Screen.
    Check this and let me know if you have any complexities in finding these.
    reg
    Sunil

  • Keeping custom templates and configurations on different drive

    What I'm trying to do is keep one set of DVDSP layouts/templates/etc on a partition that all of our editors/graphics artists can access instead of adding 8gb or more on each station. I figured out how to link each station to the stock palette elements, using the preferences, but I didn't see a way to let DVDSP know that the configurations folder has been moved to a new partition. And in terms of custom templates, where are those normally saved? In the same folder as the stock templates? I'm unsure where to point DVDSP to set the custom elements. It's default is /Users/drive/Library/Application Support/Final Cut Studio/DVD Studio Pro. I see that DVDSP wants to save custom templates in the user folder library and the general templates in the general library, but what if I want both on a non-local drive? Can I simply create two folders (templates/custom templates) and make sure that our editors save to the custom folder when using DVDSP?
    And lastly, will the custom configurations stay linked if I move the configurations folder to the new location on the shared media partition?
    Hope this makes sense,
    Steve

    Steve
    Look in DVDSP Preferences > Destinations > Show: Palette Elements. You'll see the location destination of stock and custom elements.
    Hope that helps !
      Alberto

  • Sir i was get only one mail at my permanent email id at rediffmail and i m not get other mail where the apple server to i login and finish the process whats going on there i suffering from last one week for this one id is it apple or what ?

    sir
    i was not get any mail at my permanent mail addres [email protected] and this mail id also same at apple so where the apple server for login and finish the process tell me is this way to apple to customer support and this is last mail for this  other wise i will go through the public protest comision and i will make
    statement for this type of fake process
    reply soon

    You are not addressing Apple here.
    This is a user to user forum, this is spelled out in the terms of service you agreed to when you joined.
    There is no Apple server for your email.
    servers are set up, used and maintained by whatever email service you use-such as rediffmail.
    Go threaten them.

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

Maybe you are looking for

  • How to transfer cost from old sales order (cancelled) to new sales order

    Hi Gurus I want to know, how to move cost from one sales order to another sales order. SD created sales order before 1 month and there was production order behind this. Production was completed and all the cost was moved to sales order and also SD ha

  • Missing tools in toolbar after activation

    This is one of the strangest things I've seen in a long time. I purchased InDesign CS2 about two years ago and have been using it without issue in that time. However, the system I'd originally installed the software on crashed recently, making it ino

  • Do you run Pre-Upgrade Assistant when migrate from 10.1 to 10.2

    Hello, I tried to upgrade from 10.1 to 10.2 on Windows. Base on installation guide, you have to install 10.2 in a separate ORACLE_HOME, then run utlu102i.sql through SQL before run DBUA. Since I installed 10.2 without create start database because SI

  • Time Events in PS (Clocking on an off a Network Activity)

    Hi, Is there a SAP standard transaction for clocking on and off jobs for a Network Activity? In PP you can clock on and off a job using CO19 but that doesn't work for PS. Any help would be appreciated. Regards Adeel

  • Problems Accessing iPhone Photo Library - Wild

    Having some issues accessing or even finding the photos stored on my device. iPhone 4S iOS 5.1 Image Capture only sees the "Camera Roll" (500 or so pictures in there) but I can't access anything else. Here's how my Photo Library is structured on my d