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

Similar Messages

  • How do you assign the user who has logged in current session ?

    Hello,
    in oracle forms , you could assigned user who has logged in to any field , e.g field_name := USER_ID;
    I need to assign the user who has logged to a field in jdeveloper 12 . How do you do that please ?
    Thanks.

    Try this: https://www.google.com/search?q=adf+get+current+user
    CM.

  • How  to find out list of users who has logged into webtools

    Hi All,
    From a database administration and monitoring traffic point of view we want to know who has logged into our web tools web site for a given period.  Is there a easy way to have this information. basically user ID , date and time are info we need. (need all users - with or without orders)
    any ideas welcome.
    Regards
    David

    Hello,
    The easiest way to accomplish this is by creating a report.
    Use the SQL query
    SELECT     UserID, LastVisitDate
    FROM         Users
    ORDER BY LastVisitDate DESC
    And a template that looks something like this:
    <html>
    <head>
    <title>%%ReportName%% - %%Today, {0:d}%%</title>
    %%StyleSheet%%
    </head>
    <body>
    <center>
    <h1>%%ReportName%%</h1>
    <table width=800 cellpadding=1 cellspacing=0 border=1>  
    <tr>
    <td><b>User ID</b></td>
    <td><b>Last Visit</b></td>
    </tr>
    <section name="uservisit">
    <tr>
    <td>%%UserID%%</td>
    <td>%%LastVisitDate%%</td>
    </tr>
    </section>
    </table>
    </center>
    </body>
    </html>

  • Report on who has logged into the portal

    Hello everyone..
    Anyone know a way to get a report of which users have logged into the portal recently?

    Hello Craig,
    Check the Help portal under
    http://help.sap.com/saphelp_nw04/helpdata/en/58/728ea01cf64fff996b827f2a06f9b1/frameset.htm
    regards
    Mahesh

  • Details of users who have logged into the application

    I have installed oracle 10g Forms and services and oracle database 10g in the server.The users will run the application from the client machine. I want to know how many users are accessing the application and their ip address .
    Please let me know.
    Thanks.

    Hi
    Try this Code.
    SELECT MACHINE, OSUSER, TERMINAL, UTL_INADDR.GET_HOST_ADDRESS(TERMINAL) IP_ADDRESS FROM V$SESSION WHERE STATUS = 'ACTIVE'If you want to get the details of all users including Disconnected users, then use the following query
    SELECT MACHINE, OSUSER, TERMINAL, UTL_INADDR.GET_HOST_ADDRESS(TERMINAL) IP_ADDRESS FROM V$SESSION WHERE NVL(TERMINAL, ' ') <> 'UNKNOWN'Regards,
    Manu.
    If this answer is helpful or correct, please mark it. Thanks.
    Edited by: Manu. on Aug 4, 2009 10:09 AM

  • How to identify the user who has created accounts,lead, Opp in portal

    Hi experts,
    I am working in CRM 5.0 now i want to know the user who has created a particular account, Lead, and opportunity in Portal not in GUI kindly give some inputs regarding this .
    Thanks in advance
    Amar

    Hi Frederic,
    Thanks for your reply.
    But is there any way by which we can make it happen in PCUI.
    The customer is very particular about it. They use only PCUI to create new accounts and they want a facility to view change history in PCUI Account Application itself. They are not interested to go back to GUI to know change history for that BP.
    We have just checked whether any related BSP structures containing change fields are assigned to COMM_BUPA but not successful.
    Kindly help with a possible solution.
    Regards,
    Amar

  • How to find the users who has done the manual blockings in F110?

    I would like to knw the users who has blocked the inoice in F110 and even who has re-allocated the payment method/bank details in F110

    Hi,
    You can open the TC F110. Give the run dates and identification numbers then go to menubar systems- status.
    Which user has been blocked the invoice displayed.
    I hope it will help to you.
    Thanks,
    Venkat

  • I need to know the user who has created/modified a SAP Bex Query and WAD

    Hi!
    I need to know the user who has created and modified a SAP Bex Query and SAP  Web Application Designer. Does it possible to know this information by a table or view?
    Best Regards
    Ramon Sanchez

    Hi,
    In BEx query, when you click "Queries" to open the query, the list of queries are displayed. Highlight the query, click on the "Properties On/Off' icon(right most on the top), you would see all the details.
    In WAD, before opening the template, click on "Properties On/Off'" icon to see the details.

  • Is there a Report detailing who has logged into SAP ECC 6.0 over 24hours

    I am looking for a report that would detail who has logged into SAP over a 24hour period?
    Even logs would be good.  This is very important as we are trying to trace the events leading up to a problem
    Regards,
    Maria

    You need to activate Auditing for this purpose. This will, however, not track the transaction called in the past.
    I wonder what you want to do with that information because you won't be able to tell, what the user has actually done.
    If I start VA01, enter "TA" and press enter - I have started that transaction but I haven't done anything. Do you count that in your wanted-statistic as "has done VA01" or "has not done VA01"?
    You can use STAD to see what is exactly happening on your system but not for 24h because the amount of data would be so big, your system would literally explode (depending on the number of users and activity on your system of course).
    Markus

  • Users are being logged into the desktop before the mapped drives GPO takes effect

    We are using a Group Policy object to map network drives to our users.  We are getting reports that the user are being logged into their desktop before the drives are mapped, causing a program that points to the mapped drive to not be able to access
    files on that drive.  Once the user goes into Computer and double clicks on the drive, they are then able to see the files on the drive and the program is able to access them as well.
    We have added another GPO to institute the "Always wait for the network at computer startup and logon" policy to try to fix the issue, but it has not solved our problem.
    Thanks in advance for any assistance.

    >   Once the user goes into Computer and double clicks on the drive, they
    > are then able to see the files on the drive
    Did you check the "reconnect" option?
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • How to find the user who has changed a field in a table

    Hello
        Someone has changed a field  cost center in my table so i need to find the user who hav changed it.Can anyone tel me how to find it.
    Regards

    HI ,
    Create a Z test program using the particular table and filed .
    Now goto SE38 and execute the program " RSDEPEND "
    give the ur test program and then execute . u will get the list of the last  change of ur program
    ( table and fields used inthis program)
    Another way :
    for data element :
    refer table 
      DD04L and get the user name
    for domain
    DD01L
    Edited by: shambhu sharan pandey on Nov 13, 2009 5:49 AM

  • KM Search: How can I define a query for the user who currently logged on?

    Hello,
    I want to use the KM Search iView to display all documents from the currently logged on user in a certain sort order. The result should be some kind of report for the user...
    In the search option I can define a default sort order. And I can also define it for a special user with cm_modifiedby(value=username)
    But how can I define the predefined property value generically for the current user?
    I tried to insert following values in the parameter Predefined Properties of the search option:
    Predefined Properties (csv): cm_modifiedby(value=<user.id>)
    Predefined Properties (csv): cm_modifiedby(value=%user.id%) -> like in the predefined properties
    Predefined Properties (csv): cm_modifiedby(value=$sap_user) -> like in the xml forms builder
    But non of these 3 parameters worked. Has anybody an idea what the right variable is?
    Thanks a lot.
    Best regards
    Nicole

    Hi Nicole,
    1. First of all you need to use "<User.UserID>" to get the currently logged on user.
    2. You need to create an AppIntegrator iView (so based on com.sap.portal.appintegrator.sap.Generic) in order to be able to use this dynamical parameter. The parameter "URL template" should look like:
    <Request.Protocol>://<Request.Server>/irj/servlet/prt/portal/prtroot/com.sap.km.cm.basicsearch?layoutSetMode=exclusive&ResourceListType=com.sapportals.wcm.SearchResultList&SearchType=quick&rndLayoutSet=SearchResultLayoutSet&SearchCompsName=UISearchComponents&QueryString=*&SelectedCustomProps=cm_modifiedby(value=<User.UserID>)
    Best regards,
    Robert

  • How to know the name of the user who has uploaded a unix file?

    Hello, say someone has uploaded a file on the unix server.Is there a way to know who has uploaded it(the username)?

    Hi ,
    You can use OPEN DATASET and CLOSE DATASET statements for it.
    PLease let me know if you still need any more details.
    Thanks and regards,
    Rajeshwar.

  • Trace the user who has started the java instance.

    Hi Gurus,
    How can we trace the users those who restart the java instances?
    Regards,
    Ratan roy

    Hi,
    Check dev traces and java trace files
    \usr\sap\<SID>\<instance name>\work and
    usr\sap\<SID>\<instance name>\j2ee\cluster\server<n>\log
    and /usr/sap/<SID>/<Central instance name>/j2ee/JSPM/
    I am not sure wthr the user who started the instance will be traced you can also try and trace database log files . I am not sure of the path
    Rakesh

  • Can I monitor the users who are logged in Domain Controller?

    Can I monitor which users are logged in the Domain Controller? Is there any features or hidden in Windows Server 2008 R2?
    it may be funny.but i just want to know.
    Thanks in Advance

    I am using a bat script assigned on the user Logon, this script will send you a notification each time user login 
    User Configuration --> Windows Settings --> Scripts (Logon/Logoff)
    download the exe from here and save it to shared folder(\\server\folder\)
    http://caspian.dotconf.net/menu/Software/SendEmail/
    (make sure to save it as a .bat)
    \\server\folder\sendEmail.exe -f [email protected] -t [email protected] -u User Logon -m User %USERNAME% has logged onto %COMPUTERNAME% on %DATE% at %TIME% -s smtpserver.mycompany.com:25

Maybe you are looking for