How to track current online users in OID?

Hello,
Is there any way to track the number of current online users in OID?(or 10Gas) therefore, I could find out who is online and how many people are online. Does OID provide the feature? Or, I have to write a Java class to record it when a user logon? what if the user doesn't logout and the seesion is timeout?
Thanks for your help

PL/SQL code to get number connected users since the beginning of the day :
DECLARE
cpt_user integer := 1;
BEGIN
select count(distinct(user_name)) into cpt_user from PORTAL.WWCTX_SSO_SESSION$
WHERE (USER_NAME <> 'PUBLIC')
AND to_char(PORTAL.WWCTX_SSO_SESSION$.LOGIN_TIME,'dd/mm/yyyy') = to_char(sysdate,'dd/mm/yyyy')
AND IP_ADDRESS IS NOT NULL;
htp.p(' <font color="#006699" size="1" style="font-family:Arial, Helvetica, sans-serif" > ' ||cpt_user|| ' connections</font> ') ;
EXCEPTION
WHEN NO_DATA_FOUND THEN
htp.print('No connection !');
END;

Similar Messages

  • How to chat with online users related to java

    hi everyone,
    how to chat with online users.plz tell me.

    warnerja wrote:
    audibert112 wrote:
    Does anyone know a good Java chat room?
    SPAM SPAM SPAMWhat is this, national SPAM day?No, [that's in July|http://en.wikipedia.org/wiki/Spam_Jam].

  • How to determine the online user?

    hi,
    Im developing a project, in this project, i have a user login page,
    Now i want to know the number of online user who r login in this site? & i also want to know the number of viewer who are vising this site? Is there anyone who can help me? Please help me
    With regards
    Nahar

    You are probably using a session bean to hold to login state of your users.
    You have an interface avaiable to you that is called the HttpSessionBindingListener. If you implement this on your session bean you can implement two methods:
    valueBound() - this is called when the session bean is created
    valueUnbound() - this is called when the session bean is destroyed
    So using valueUnbound() you can check when the session drops, which most likely means that the user left your site. With this you can keep track of users in a static map somewhere: add a user to this static map when the bean is created and remove it again in valueUnbound(). Then you can use this static resource to easily know your online users and their login state.

  • How to get current logon user list of biee?

    All,
    I used BIEE 10.1.3.3. I want to export current logon user list to OS file. How to do it? I know BIEE session manager can do it. But I must export session information by java or other program.

    Hi,
    You could create a procedure which stores this information at logon and updates this information at log off.
    On the 'Connection Scripts' tab of a Connection Pool you can define two sorts of scripts; 'Execute on connect' and 'Execute on disconnect'. This way you can store the user_name and the connect and disconnect in a table.
    Good Luck,
    Daan Bakboord

  • How to get current SSO user in HTMLDB?

    I got SSO working for HTMLDB but I can not get the user name of the current user. I log in to Oracle Portal via SSO and navigate to a HTMLDB page. On the page I call portal.wwctx_api.get_user but I get a portal.wwctx_api.INVALID_COOKIE_EXCEPTION exception.
    If don’t log into Portal but go directly to the HTMLDB page I get a portal.wwctx_api.NO_SESSION_EXCEPTION.
    I have also tried using orasso.wwctx_api.get_user but I always get this exception orasso.wwctx_api.NO_SESSION_EXCEPTION. Anybody got an idea?
    If I put the portal.wwctx_api.get_user call I an procedure in the Portal schema it works fine.

    Thanks Dietmar. Yes this is cool behavior :-) Now I have the user how do I check in the OID if the user is member of a certain group? I was planning to use portal.wwsec_api.is_user_in_group but when this is not possible what then? dbms_ldap?
    I just found another post that suggested using wwv_flow_ldap.is_member. It't works fine:
    wwv_flow_ldap.is_member
    ( p_username => v('APP_USER'),
    p_pass => null,
    p_auth_base => 'cn=users,dc=wmdata,dc=dk',
    p_host => 'wmsi0q2071',
    p_port => 389,
    p_group => '101vis_global_sag',
    p_group_base => 'cn=users,dc=wmdata,dc=dk'
    Message was edited by:
    Peter Lorenzen

  • How to track the login user session in webdynpro

    Hi all,
            I have a new requirement as Explained below
    User will login from portal with login username and password.
    I want to retive that information.
    How to keep track of that information in webdynpro
    Thanks & Regards
    Padma N

    Hi Padma,
    First you need to add the security.jar file by following the given steps
    Right Click on Project-Propertyjava Build PathLibrariesWDRuntime
    Com.sap.security_2.0.0
    public void LoginUser( )
        //@@begin LoginUser()
         String LogonID;
           try{
              // create an user object from the current user
              IWDClientUser wdUser=WDClientUser.getCurrentUser();
              IUser user=wdUser.getSAPUser();
              //LogonID=user.getUniqueName();
              wdComponentAPI.getMessageManager().reportSuccess(user.getFirstName()" "user.getLastName().toUpperCase());
              //wdComponentAPI.getMessageManager().reportSuccess(LogonID.toUpperCase());
              wdComponentAPI.getMessageManager().reportSuccess("Logon User ID : "+wdUser.getClientUserID().toUpperCase());
           }catch(Exception e){
              e.printStackTrace();
        //@@end
    Thanks
    Anup

  • How to track activity for users logged in using solman to target systems?

    If a person accesses a monitored system through solman, how can we track the user activity (including transactions viewed and changes made etc)?
    Thanks
    Prasad

    Hi Prasad,
    Please refer the following similar threads to get more detailed Information:
    STAD parameter
    STAD Historical Data - How Long?
    STAD -  data for last  30 days
    Also check this useful Blog about STAD(/people/andreas.vogel/blog/2007/01/12/statistical-records-part-1-inside-stad) and SAP Note 139418 - Logging user actions.
    You can also configure and activate the Security Audit Log (SM19) and then analyze its entries through SM20. You can configure exactly what needs to be tracked...
    Useful transactions:
    SM19 (config)
    SM20 (analyze) (SM20N , depending on release)
    SM18 (delete old logs)
    Other SAP Note which is helpful in this case 539404 - FAQ: Answers to questions about the Security Audit Log
    Hope this helps.
    Regards,
    Shyam.

  • How to get the online user  who are browse some view?

    i want to get the current users who are browsing some view in EP6.additonal:which is developed as web dynpro project.

    Hi,
    Per my knowledge, we cannot get the SharePoint user context available in custom federated search connector with other methods.
    Here is a similar thread for your reference:
    https://answers.atlassian.com/questions/263735/atlassian-sharepoint-connector-federated-search-authentication-and-authorization
    Thanks,
    Linda Li                
    Forum Support
    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 Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • How to Track which Super user change the License Administration

    Hi Experts,
    My client recently encounter the License was allocated from a particular user id by an super user, resulting the end user unable to perform transaction when log onto SAP B1 8.8 PL19.
    Is there any way which we can trace and control which super user edit the License Administration and allocated the license to other user?
    Thanks in advance.
    Cheers'
    Vincent

    Hi Vincent,
    1. Login through manager then Go To Administrator--> System Initialization--> Authorization--> Additional Authorization Creator
    2. Additional Authorization Creator screen appear.
    3. Select any content on right side screen and click on Add Same Level button
    4. Authorization ID : Give any Name
    5. Name : Give any Name
    6. Option : Full/None
    7. Forms ID : Click on Edit Button --> Enter ID for License Administrator 60070.
    8. Click Update and Ok.
    9. Go To Authorization--> General Authorizations--> Select User in which you have block Graph--> User Authorization
    here select No Authorization.
    Just untick supper user check box of other user and give rights
    Thanks,
    Srujal Patel

  • Get Currently Online Users

    Hi,
    ERROR
    ======
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    com/sap/ip/collaboration/core/api/ume/portal/IRTCAwarenessService.
    Exception id: 03:13_21/03/06_0110_1728550
    See the details for the exception ID in the log file
    Code
    ====
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    import com.sap.ip.collaboration.rtc.api.ICollaborationAwareness;
    import com.sap.ip.collaboration.rtc.api.ICollaborationBase;
    import com.sap.security.api.IUser;
    import com.sap.security.api.UMFactory;
    import com.sapportals.htmlb.*;
    import com.sapportals.htmlb.enum.*;
    import com.sapportals.portal.prt.component.IPortalComponentResponse;
    import com.sapportals.portal.prt.runtime.PortalRuntime;
    public class COU extends PageProcessorComponent {
      public DynPage getPage() {
        return new COUDynPage();
      public static class COUDynPage extends DynPage {
    Initialization code executed once per user.
        public void doInitialization() {
    Input handling code. In general called the first time with the second page request from the user.
        public void doProcessAfterInput() throws PageException {
    Create output. Called once per request.
        public void doProcessBeforeOutput() throws PageException {
          Form myForm = this.getForm(); // get the form from DynPage
          IPortalComponentResponse response = (IPortalComponentResponse)this.getResponse();
                 response.write("Hello");
          // IUser userId = UMFactory.getUserFactory().getUserByLogonID("126149d");
           String userId = "126149d";
           ICollaborationBase srvc = (ICollaborationBase) PortalRuntime.getRuntimeResources().getService("collaboration_base");
           ICollaborationAwareness mm_awareness = srvc.getAwareness();
           boolean isOnline = mm_awareness.isUserOnline(userId);
          // create your GUI here....
    Portalapp.xml
    =============
    <?xml version="1.0" encoding="utf-8"?>
    <application>
      <application-config>
        <property name="SharingReference" value="com.sap.portal.htmlb"/>
            <property name="SharingReference" value="com.sap.ip.collaboration.rtc.api.ICollaborationAwareness"/>   
      </application-config>
      <components>
        <component name="COU">
          <component-config>
            <property name="ClassName" value="com.cts.anand.COU"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="OnlineUsers">
          <component-config>
            <property name="ClassName" value="com.cts.anand.OnlineUsers"/>
          </component-config>
          <component-profile/>
        </component>
      </components>
      <services/>
    </application>
    What is the problem
    Thanks
    Kirupanand
    Message was edited by: Kirupanand Venkatapathi

    HI,
    Yoav
    I have given the sharing reference
    <property name="SharingReference" value="com.sap.ip.collaboration.rtc.api.ICollaborationAwareness"/>
    Already found the jar and added it to the project.
    Karthick
    Already tried the answer you have mentioned.
    Log file
    #1.5#000D565A73B0005D000000C000000F6000040FB58D06B80F#1143172336138#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#Guest#192####95a166a0bae911dabd03000d565a73b0#SAPEngine_Application_Thread[impl:3]_9##0#0#Error#1#/System/Server#Java###Exception ID:09:22_24/03/06_0035_4049850
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in init method
    Component : CurrentlyOnlineUsers.COU
    at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:251)
    at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:267)
    at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:312)
    at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:385)
    at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:435)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
    Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class com.cts.anand.COU of Portal Component CurrentlyOnlineUsers.COU because: Could not instantiate implementation class
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:269)
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getComponentInstance(PortalComponentItemFacade.java:160)
    at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java:732)
    at com.sapportals.portal.prt.component.PortalComponentContext.getComponent(PortalComponentContext.java:103)
    at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:242)
    ... 26 more
    Caused by: com.sapportals.portal.prt.core.broker.PortalApplicationNotFoundException: Could not find portal application com.sap.ip.collaboration.rtc.api.ICollaborationAwareness
    at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:413)
    at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:385)
    at com.sapportals.portal.prt.core.broker.PortalApplicationItem._refresh(PortalApplicationItem.java:505)
    at com.sapportals.portal.prt.core.broker.PortalApplicationItem.getCoreLoader(PortalApplicationItem.java:1334)
    at com.sapportals.portal.prt.core.broker.PortalComponentItem.getClassLoader(PortalComponentItem.java:569)
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getClassLoader(PortalComponentItemFacade.java:102)
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:228)
    ... 30 more
    any useful hints needed.

  • List of currently online RTC users

    Hi all,
    I am trying to write an iView which shows a list of all currently online users (users which have the collaboration launchpad running and the status set to online) under EP6.0 SPS15.
    Which API calls should I use? I already searched here but did not find the correct one:
    https://media.sdn.sap.com/javadocs/NW04/SPS15/km/index.html
    Thanks in advance
    Francisco

    Hi Francisco,
       Check these threads.
    <a href="http://">https://www.sdn.sap.com/irj/sdn/thread?threadID=94752</a>
    <a href="http://">https://www.sdn.sap.com/irj/sdn/thread?threadID=104485</a>
    <a href="http://">https://www.sdn.sap.com/irj/sdn/thread?threadID=99462</a>
    hope it helps.
    Ragards,
    Saravanan

  • Report with online users

    How can I create a report with current online users of the application?
    J.

    Hello Janis,
    >> How can I create a report with current online users of the application?
    What you are asking is not trivial at all, and not possible “out of the box”. How do you define an online user in a web environment? It’s not like the user have a continues/permanent connection with the web server. The following thread elaborate more on the subject - Identify currently active users .
    If you have a specific need, or you are trying to solve a specific problem, and the referenced thread didn’t give you an idea for solution, please elaborate and will see if we can help you further.
    Regards,
    Arie.

  • Why doesn't my List of Online Users' Module give a list?

    Hi All,
    Module 'Online Users' for the secure zone looks like
    http://www.virtualteacher.com.au/images/Screen%20Shot%202014-07-13%20at%209.47.58%20am.png
    Showing listing - however this module only shows one user online - the user logged into the computer.
    I would like to show either a list of current online users or the number of current online users.
    Any suggestions how this might be done??
    ciao
    Cathy

    From the Menu bar, select: "Show status bar"

  • Disable User in OID

    Hi Guys and Girls,
    How can I disable a user in OID, currently the only OID access is available via the Oracle Directory Manager(ODM) or command line, apparently self service is unavailable .
    The Nearest thing I could find was the orclIsEnabled attribute, in the entry management page I searched for the user from the search tab and edited at the properties tab the orclIsenabled attribute by adding "disabled" to the field.
    Unfortunately the user still appears in a directory search, what can I do?
    I don't want to delete a user just yet but disable from a user search instead.
    Any help would be greatly appreciated

    Disabling a user will only not let the user be able to bind, and perform other actions.
    One method is to move the diabled user into another container.

  • How to check if the user has log in when he log in again?

    Hi all,
    I was wondering how to track if the user has already log in?
    When this user using browser A to log in then he try to log in using a new browser, then hw I am I going to know that, and terminate his session?

    Hello!
    You can try this code if you want that if a user is login at a machine and tries to login from the other, then he can continue his processing at second machine ('cos it will get the high priority) but can not process from the first machine. This code allows to login but only second one will be active.
    <jsp:useBean id="monitor1" scope="application" class="java.util.HashMap"/>
    if(monitor1.containsKey(num)){
    HttpSession oldSession = (HttpSession) monitor1.get(num);
    oldSession.invalidate();
    monitor1.remove(num);
    monitor1.put(num , session);
    But if you want to restrict it at the time of second login then u can use any of the techniques discussed above.
    aNTUMNIHA

Maybe you are looking for