Fetching Currently Logged in Portal User & Fetch Users logged on whole day

Hi All,
I want to fetch the Currently online Portal Users and their name.
Also we want to fetch all users from different servers as we have load balancing.
Also i want to fetch which users have logged on a particular day, so that i can come to know that at end of day which users have logged on.
Thanks & Regards,
Dhruv Shah

Hi,
you can connect to the above mentioned tables by creating a alias or else using the default alias
for this you have to login into the visual admin
server ---> services -
> jdbc connector
there you can find the table with the alias.
The default aliases what i know are SAP/BC_JMS,SAP/BC_UME,SAP/BC_WDRR.
I think this will be usefull
or else craete a new alias using Add alias button.
The code for getting connection is
      InitialContext ctx = new InitialContext();
      DataSource ds = (DataSource)ctx.lookup("jdbc/SAP/BC_JMS");
     Connection con = ds.getConnection();
//you can write ur select statement and continue
But i have a doubt can you tell me what information does these tables contain.
Thanks & Regards,
Lokesh
Edited by: lokesh kamana on Aug 26, 2008 8:57 AM

Similar Messages

  • Logging into portal with r3 user id and password.

    I need to login to a portal using R3 user ID and password.
    It would be really helpful if anyone could provide me with the steps involved in it.

    Yes it is ABAP System Tab and not ABAP Server Tab.
    Before going to the ABAP System Tab, Select ABAP System from the dropdown(in Data Source Tab) and then you should be able to enter ECC Server Details.
    I hope you created SAPJSF as suggested in the help link and attaced the required ABAP roles to the user.
    Also Ensure to test with Test Connection button to be succesful.
    If error persists,Please post the errror details
    Edited by: Santhosh Edla on Feb 24, 2009 4:34 PM

  • Groovy expression for fetching current user details

    I have created a view object that retrieves user details from the database. Also for dynamically getting the details of the current user logged in i have defined a bind variable currentUser and the default expression is adf.context.securityContext.userName.When i give the fixed literal value as user name the details are fetched. However details are not fetched when i use the groovy expression. Can i get some help on this please.
    Regards

    details are not fetched when i use the groovy expressionby using groovy you cant the details
    i cant get you, is this you question?
    some hints, here
    groovy expression as default value in a Entity's Field Problem

  • Problem with applet.getUserName() to fetch currently logged userid

    Hi,
    I am using applet.getPropertyValue("IllumLoginName") to fetch the currently logged in user. But in some places there is already an MII function used applet.getUserName() to fetch current logged in UserID. But the problem is when a user logs in the MII with a UserID : USERA and does some operation and logsoff and he logs in as a new user with ID : USERB, but MII fetches the USERA instead of USERB. After some investigations we found that it is because we are using getUserName() function of applet which is fetching the previously logged in userid.
    Please let me know what is the differece between these 2 functions.
    Browser : IE7+
    MII Version : 11.5
    Java version: 1.5.0_06
    Thanks in Advance,
    Raj.

    As you have found the .getUserName is only good for the initial user, so you must use the .getPropertyValue approach.
    The applets only 'log themselves in' once, so the getPropertyValue is the true check for the UME session user.
    You could also use this approach in an irpt page and request it with javascript as well:
    <input type="hidden" id="WhoDat" value="{IllumLoginName}">
    Regards,
    Jeremy

  • In oracle rac, If user query a select query and in processing data is fetched but in the duration of fetching the particular node is evicted then how failover to another node internally?

    In oracle rac, If user query a select query and in processing data is fetched but in the duration of fetching the particular node is evicted then how failover to another node internally?

    The query is re-issued as a flashback query and the client process can continue to fetch from the cursor. This is described in the Net Services Administrators Guide, the section on Transparent Application Failover.

  • Another user of your computer is currently using this connection. This user must disconnect before you can log on.

    Hello
    I have a single computer that is going to be shared between 5 people. In an effort to save time. I wanted the users to have a single shared LOCAL login to the computer.
    Then each user could pull up an RDS session through RDWEB on our 2012 r2 RDS farm.
    However, when I attempt to log in more than one user through RDWEB I receive:
    Another user of your computer is currently using this connection. This user must disconnect before you can log on.
    I have done some research on this, and followed this advice, and did the following steps on all my RDS session host and broker servers
    Enable Multiple RDP Sessions
       -  Log into the server using Remote Desktop.
       - Open the start screen (press the Windows key) and type gpedit.msc and open it
       - Go to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections.
       - Set Restrict Remote Desktop Services user to a single Remote Desktop Services session to Disabled.
       - Double click Limit number of connections and set the RD Maximum Connections allowed to 999999.
    However, it did not solve the problem. Anyone have suggestions?

    Hi Michael,
    In addition you can try below registry setting for multiple remote session.
    HKEY_Local_Machine\SYSTEM\CurrentControlSet\Control\Terminal Server
    fSingleSessionPerUser     REG_DWORD     0x00000000
    Note: By default the registry value is set to 1, but you need to change to 0.
    Also if you are making connection through gateway then recheck whether the setting is enabled on gateway side for multiple session.
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to get password of a logged in portal user in webdynpro.

    hi,
    i want to get the password of the logged in portal user through webdynpro. i already know how to get the user id and other information through webdynpro (using WDClientUser), but i want to get the password as well.
    this is an urgent requirement. Immediate help will be highly appreciated and points will be awarded for helpful answer.
    thanks in advance.

    Hi
    User Management APIs don't give the liberity to obtain the password, instead you can verify a password. Please check if your requrirement can be modified to check for password.
    Please use code mentioned below and the one suggested before.
    loggedInUser = WDClientUser.getCurrentUser();
    user = loggedInUser.getSAPUser();
    if (user != null)
    IUserAccount[] acct = user.getUserAccounts();
    if(acct[0] != null)
    b = acct[0].checkPassword(password);
    Thanks
    Srikant

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

  • How to capture name of user that logs into Portal?

    Im trying to create a report that returns information from a
    Profile table. The UserId is the key to the Profile table.
    Since this report returns information dependent upon who runs
    it, I would make use of the USER functionality in SQL to isolate
    the row in the Profile table. However, this technique wont
    work through Portal because the user logs into Portal not the
    database.
    What technique (keyword, API, etc.) should I use to capture the
    username of the person who logged into Portal?
    Thanx,
    JE

    Try this:
    PORTAL30.wwctx_api.get_user
    Adam

  • Enterprise Portal Log off Issue for External User

    Hello
    We are facing a Enterprise Portal log off issue for one of our external users.
    User is logged in and clicks on the "Log Off" link .
    User is prompted as seen below:
    Are you sure you want to logg off?
    Choose Yes or No
    Click on Yes and popup window goes away and nothing else happens.
    These problems logg off issue problem happening on Internet Explorer 6 but from from firefox browser, its working.
    Also  popups are not blocked on IE.
    EP version with SP level is EP 7.00 SP12.
    Even though from Internet explorer 6, i can log in and log off with internal user.
    Please advise for the log off problem .

    Hello
    I added the value ume.logoff.redirect.url =https://poqwas.synenco.com/irj/portal
    on Config Tool Global Paramter settings.
    Then restart the server.
    But I am getting the same problem.when I login with external user ID, then make log off. Nothin Happen...
    Please advise

  • How we can see logged in portal user

    hello SAP EP gurus,
    How i can know how man users are logged on my EP Portal and which user is using which report.Is there any way to find out this thing.?
    Also how we can see the performance of our portal?
    Waiting for earliest reply.
    regards
    Neeraj Pandey

    Hi,
    You can use " portal Activity Report" for this purpose.
    alternatively, if you have access to server you can check this through visual admin
    simply open visual admin,open on your servernode --services,click on Performance Tracing,click on JARM and choose what you want to see.
    its easy to use standard portal Activity Report.
    else you can use third party reports loke "google analytics" which will give the number of users logged in, what the navigation of each user, from which geographical area the user has logged in and all about the user logged into the portal and portal performance.
    you need to login with your gmail id and password and download the code and use it in you portal application... its very easy to use.
    https://www.google.com/analytics/home/
    PradeeP

  • Portal Activirty Reporting and logs tracing for user activities

    We operate under a WAS JAVA 6.40 SP19 environment portal...
    Can the portal generate reports base on users activities … can the portal report on users’ login attempts with any of the followings:
    Login attempts by numbers of tries
    Login attempts by date
    Login attempts by fail or unsuccessful
    Login attempts by successful
    We currently are tracing SSO attempts into the ECC systems but we would like to report from a portal end perspective…

    Hi,
    Hope this link helps.
    http://help.sap.com/saphelp_nw04s/helpdata/en/58/728ea01cf64fff996b827f2a06f9b1/frameset.htm
    Blog: /people/daniel.wroblewski/blog/2007/09/09/fixes-available-for-portal-activity-report
    Thanks,
    Tanuj

  • Portal users who have logged in during a specified time interval ?

    Hi,
    I need to know all the users who have logged in to the portal during a specific interval of time e.g during the last 10 days. Is there any provision to write code using UME api ?
    Any help would be highly appreciated and rewarded.
    Thanks & Regards,
    Sudhir

    Hi Jaga, Thanks for your reply.
    This is what i needed.
         Vector v=new Vector();
         IUserAccountFactory uaf = UMFactory.getUserAccountFactory();
         IUserAccountSearchFilter userAccountSearchFilter=uaf.getUserAccountSearchFilter();
         userAccountSearchFilter.setLoggedInBetween(fromDate,toDate);
         ISearchResult sr = uaf.search(userAccountSearchFilter);
         while(sr.hasNext())
                         IUserAccount ua = uaf.getUserAccount((String)sr.next());
              IUser tmp = ua.getAssignedUser();
              v.add(tmp);

  • When I log in the Portal using Administrator user, I can use it correctly.

    I have created a Room IView.
    When I log in the Portal using Administrator user, I can use it correctly. However when I am using another user, I get this error message: 
    com.sap.portal.pcm.Title
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/com.sap.ip.collaboration/Rooms/00a2953f-0d06-2a10-749d-afc6884d33a7/workset/com.sap.netweaver.coll.ProjectHome/relatedItems/DynamicNavigation/com.sap.netweaver.coll.ARoomQuickLaunch
    Component Name : null
    Page could not create the iView.
    See the details for the exception ID in the log file
    What should I do??
    Regards
    Ika

    Hi Ika,
    This seems to be a permission issue.
    Go to the pcd and give read access to portal_content/com.sap.ip.collaboration/Rooms .
    That should solve the problem.
    Points are welcome if this helps
    Rgrds
    Vineeth

  • User created but can't log into Portal. OID not in-sync with Repository.

    Logged into Portal as portal
    Go to Administ Tab
    Created a group i.e. TestGroup
    Created a user i.e. TestUser, put the user's default group as TestGroup.
    I logged-out and and tried to log in as TestUser it doesn't let me log into Portal.
    I do see the TestUser under TestGroup when going to Administer Tab and checking it, but some how can't log-in. I tried to use wwsec_api.user_in_groups to print the group names using SQL-Navigator but it never returns anything for the user I created above.
    username := 'TestUser';
    groupid := WWSEC_API.USER_IN_GROUPS(p_user_name=>username);
    ..........Now if if try the following and use portal it returns me all the groups the portal user is in i.e.
    username := 'portal';
    groupid := WWSEC_API.USER_IN_GROUPS(p_user_name=>username);
    ..........Looks like OID and repository are not in-sync. Can someone give some in-sight why is this happening and what can I do to fix this. I even tried adding the user under some other groups but still never returns me the groups when I run the above PL/SQL.
    Thanks

    Under Administer -> SSO/OID Tab I have Enable directory synchronization is checked. But still can't log in. Any ideas.
    Thanks

Maybe you are looking for

  • Install OS X 10.4.3 on my PC

    Hi, I would like to install Mac OS X 10.4.3 on my PC. Is that possible?If yes, can you tell me how? Thanks.

  • Installed Latest update - now it wont turn on - just flashing LED

    I need help please!  I had my phone since Feb this year.  It's been great overall.  I've had a few problems with it overheating and draining the battery, but not consistently. Anyhow, on Wednesday evening, I did a little looking around and found ther

  • Bug in Acrobat Reader 8 & 9? "Actual size" not actual size

    When I choose to view a PDF in "actual size" using Adobe Acrobat Reader 8 or 9, it is NOT actual size.  Under Acrobat Reader 7, it WAS actual size. For example, if I go to the properties of the document and find out that it is supposed to be an 8.5 x

  • IPHONE4 STUCK IN RESTORE MODE

    My iphone was working fine and out of the blue it shut off competely and would not turn on. I tried to restore it and it said i had an unknown error 21. If someone could help me fix this issue i would greatly appreciate it.

  • Collect metrics failed because 'Query Datacenter Managed Object Reference' is not executed

    Hello, This is my first post on this forum; I am working for a Cisco partner. I am working on Tidal Enterprise Orchestrator 2.3.0.441 (hotfix1 and 2, content update 1), part of CIAC starter edition. Scheduled Collect metrics failed in 'vSphere Datace