Query to get user information

4.2.1
Hi There,
I wanted to get the counts/information of users logged into a specific Apex application. Is that possible. I searched the forum and came across the object apex_workspace_apex_users. In this I don't see the application the users last logged into.
I was looking for something like
User                 Count       last_login
[email protected]     150        21-May-2013
[email protected]      10          22-May-2013
.Thanks!

ryansun wrote:
4.2.1
Hi There,
I wanted to get the counts/information of users logged into a specific Apex application. Is that possible. I searched the forum and came across the object apex_workspace_apex_users. In this I don't see the application the users last logged into.
I was looking for something like
User                 Count       last_login
[email protected]     150        21-May-2013
[email protected]      10          22-May-2013
This information is available through APEX views. See:
<li>APEX views: Home > Application Builder > Application > Utilities > Application Express Views
<li>Monitoring Activity Within a Workspace
<li>Creating Custom Activity Reports Using APEX_ACTIVITY_LOG
Note that the underlying logs are purged on a regular basis, so for the long term you need to copy the data to your own tables, as Martin suggests here.

Similar Messages

  • Query to get users using a Form

    Hi All
    I would like to build a query to get all users who is having access to a form. I could get the cases
    where there is no submenus. But how can I handles cases were submenus also there. Please help. I have checked
    the other posts in this forum. But none is giving a possibility of giving single query for this.
    Kindly help.
    Version 12.1.3
    Thanks,

    I guess my question was confusing.
    I build a query like this to getthe information, but it will work only if the function is attached directly to the main menu. It will not work incase of submentus.
    SELECT distinct usr.user_name FROM
    FND_FORM_VL form,
    FND_FORM_FUNCTIONS_VL func,
    FND_MENU_ENTRIES_VL menu_l,
    FND_MENUS_VL menu_h,
    FND_RESPONSIBILITY_VL resp,
    FND_USER_RESP_GROUPS_DIRECT usr_resp,
    FND_USER usr
    WHERE func.form_id = form.form_id
    AND menu_l.FUNCTION_ID = func.FUNCTION_ID
    and menu_h.MENU_ID = menu_l.menu_id
    and form.form_name = :FORM_NAME
    and resp.MENU_ID = menu_h.menu_id
    and usr_resp.responsibility_id = resp.responsibility_id
    and usr.user_id = usr_resp.user_id ;

  • Unable to get User Information in infopath form hosted on sharepoint online(2013)

    Im trying to retrieve user information (department, Manager, Work E- Mail, Etc..) into an infopath form hosted in sharepoint online using "/_vti_bin/UserProfileService.asmx"
    web service. But it returns me an error when im opening the form as :
    An error occurred while
    trying to connect
    to a
    web service. Error ID 5566
    Any idea about how to get those  information into a form which hosted in Office365 environment?
    Thanks.

    I believe this is a known issue:http://support.microsoft.com/kb/2674193/en-us

  • Get user information in shared queue

    Hi all,
    The case is:
    - My queue shared to some user (say A, B abd C)
    - After some task assign to me I would like to send the email to all user shared my queue too (i.e. A, B and C)
    Would like to know if there are any way to find the user information (login id, UID etc....), so I can find there email address?
    Thanks in advance.
    Regards
    Bill

    Hi,
    I am trying to send the email when the task assign to the user who own the shared queue, but after I research the event object, it seem that it is not the same as the event we use in the event driven programming... so I just give up and send the email BEFORE assign the task.
    After I look at the system db tables again and again, I come up with the following SQL, which the result look like what I want, feel free to try at your environment:
    select e.email
      from tb_shared_users_2_shared_queues sq, tb_queue q, edcprincipalentity e, edcprincipaluserentity eu
    where q.workflow_principal_id = eu.refprincipalid
       and eu.uidstring = ? // user login id go here
       and q.workflow_principal_id <> sq.shared_queues_id // ignore queue owner
       and q.id = sq.shared_users_id
       and sq.shared_queues_id = e.id
    I am still asking Adobe support for the official method to get the above information, because I think the system tables may change in system update, so... use at your own risk.
    Wish it help.
    Regards
    Bill

  • HowTo - get User Information like lastname, email...

    Hi,
    i get the Username with a call like: portletRequest.getUser().getName()
    But I'm not able to get other Information, like firstname, email....
    I've no Database, I don't use PLSQL - so I'm not able to use the wwsec_person$ table.
    Did anywhere know how to get this datas??
    Thanks in advance!!
    Daniel

    Hi,
    I am trying to send the email when the task assign to the user who own the shared queue, but after I research the event object, it seem that it is not the same as the event we use in the event driven programming... so I just give up and send the email BEFORE assign the task.
    After I look at the system db tables again and again, I come up with the following SQL, which the result look like what I want, feel free to try at your environment:
    select e.email
      from tb_shared_users_2_shared_queues sq, tb_queue q, edcprincipalentity e, edcprincipaluserentity eu
    where q.workflow_principal_id = eu.refprincipalid
       and eu.uidstring = ? // user login id go here
       and q.workflow_principal_id <> sq.shared_queues_id // ignore queue owner
       and q.id = sq.shared_users_id
       and sq.shared_queues_id = e.id
    I am still asking Adobe support for the official method to get the above information, because I think the system tables may change in system update, so... use at your own risk.
    Wish it help.
    Regards
    Bill

  • How to get user information from ldap - bpm11g

    hi all,
    i need know how to do get information from ldap, but using adf bean for show user data in adf form.
    anyone knows about this ?
    tks.

    Neal wrote:
    >
    Hi,
    I am using WLS default authentication to protect my JSP pages. Can someone tell
    me if it is possible to add more fields to the default login box (in addition
    to login and password boxes, I want to ask user the department name). In additional,
    can WLS propogate this information (department name) along with other security
    credentails to other J2EE components such as EJBs? In my EJBs I want to be able
    to get the department name that user provided during login and then use that for
    conditional business logic.
    Any insights on this subject will be greatly appreciated.
    TIA,
    -NealYou can't do this with the default simple authentication. That can only handle a
    username / password combination.
    You should be able to do this with JAAS. You could write a LoginModule that
    populates the department as a Principal or public Credential on the Subject in
    addition to the normal authentication. You would have to do a callback handler
    that passed through the department info to it.
    This link has more on WLS's stab at JAAS:
    http://e-docs.bea.com/wls/docs61/security/prog.html#1039659
    Once you have associated the Subject with the access control context by invoking
    a doAs() you should be able to get it back at any point with
    Subject.getSubject(AccessController.getContext()) to get access to the
    department info.
    It will all be a bit of a chore, mind.

  • How to get user information in a standalone java class

    Is there a way to retrieve it in a stand alone java class (with no access to request object)? If so how do I get it?
    Thanks,
    Deepak

    Hi
    use this
    IWDClientUser currentUsers[]=WDClientUser.getClientUsers();
              //Displaying the count of logged on users
              wdComponentAPI.getMessageManager().reportSuccess("Number of logged on Users in the portal - "+(currentUsers.length-1));
              for(int i=0;i<currentUsers.length;i++){
                 if(currentUsers<i>!=null){
                     // Displaying the logged on users;
                     if(!currentUsers<i>.getLastName().equals("Guest")){
                          String first= currentUsers<i>.getFirstName();
                          wdComponentAPI.getMessageManager().reportSuccess("User - "currentUsers<i>.getFirstName()" "+currentUsers<i>.getLastName());
        //@@end

  • SQL query to get alert information

    Hello,
    Would anyone help me with a query where we can find the all state change information of an alert. The below query I am using will give the last state change not all state change happening.
    Any help is appreciated.
    SELECT
    AlertStringName,
    MonitoringObjectDisplayName,
    MonitoringObjectPath,  ResolutionState,
    Priority,
    Severity,
    ResolvedBy, TimeRaised,
    TimeAdded,
    LastModifiedBy, LastModified,
    TimeResolved,
    TimeResolutionStateLastModified
    FROM
    Alertview WITH (NOLOCK)
    WHERE
    TimeRaised is
    not NULL and  
    TimeRaised >
    getdate()-1
    order by TimeRaised
    desc
    Thanks,
    Binoy

    Please use the following SQL statement
    SELECT a.AlertStringName,  a.MonitoringObjectDisplayName,  a.MonitoringObjectPath,  ah.ResolutionState, a.Priority, a.Severity,  a.ResolvedBy, ah.Timemodified, ah.TimeAdded,  a.LastModifiedBy, a.LastModified, a.TimeResolved, 
    a.TimeResolutionStateLastModified
    FROM Alertview a WITH (NOLOCK) inner join AlertHistory ah on a.id=ah.alertid
    WHERE a.TimeRaised is  not NULL and   a.TimeRaised > getdate()-1  order by a.id, a.TimeRaised desc
    Roger

  • Using message boxes or dialogs to get user information in javascript.

    Hi,
    I want to create a dialog box that displays some check boxes with some options for the user. Is this possible with the designer javascript? I suppose another option would be to have a dialog with a text field, more of a prompt allowing the user to manually enter a value. I would prefer the check boxes, but I'm not sure if that's possible. Any ideas?
    Thanks,
    Chad

    The Adobe Dialog manager should be able to handle that.
    http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/plugins/ADMReferenceGuide.pd f
    For a clean and easy product to facilitate this, check WindJack Solutions AcroDialogs, a graphical designer for creating custom dialog boxes for use with Adobe Acrobat.
    http://www.windjack.com/products/acrodialogs.html
    Noah Katz

  • Getting User Details using objectid

    Hi,
    First i am querying the projects using ALUI IDK
    ===========
    IProjectManager projectManager = GetProjectManager(Request, Response);
    IProjectFilter projectFilter = projectManager.CreateProjectFilter();
    projectFilter.NameSearchText = searchText;
    Plumtree.Remote.PRC.Collaboration.Project.IProject[] projects = projectManager.QueryProjects(projectFilter);
    =================
    then i am retreiving User IDsadded as Project Leader
    ========================
    IRole role = null;
    RoleTypes roleType = RoleTypes.Leader;
    role = project.GetRole(roleType);
    int[] GroupID = role.GetMemberIDs(MemberQueryTypes.AllGroups);
    Display Group ID
    =========================
    Now the issue is i am not able to figure out how to get the users detail ie authusername, login name etc present in the groups that are retrieved.
    Regards,
    Ankit
    Edited by: electrazy on Jul 18, 2011 11:39 AM
    Edited by: electrazy on Jul 20, 2011 2:22 AM

    Hello electrazy,
    This is not possible from within the IDK. The best you can get are the Extended Data properties that are associated with the user object in the Global Property Map. If you want to get user information like the authentication name and the login name, you'll have to use the Portal Server API or directly query the database.
    -Mike Headley, WCI Developer Support

  • Need Users information since one month or one year

    I have cheked with 'ST03' but am getting only one week data of users after that popup message is 'list contains no data'. In our system 'audit security log' is inactive so iam unable to view with SM19. STAT also not giving that much sufficient data.
    so how can I get users information means what tcodes they used one (month back ) and logon time every thing .Is there any reports /tables to view the data which is related to users. give your suggestion soon.
    Thanks,
    nani

    Hi Nani,
    Please follow this:
    go to st03n
    in exper mode-then collector and performance database
    then workload collector->under this go to total collector->then go to control and double click
    it will show u the view SAP NW Worload collector:maintain the collector parameters
    make sure that under week aggr.,month aggr and Gen total all are check in
    follow the note 12103 to make sure the job is running fine
    let me know if this helps
    Rohit

  • Rertrival user information in EP 6.0

    Dear all,
    i m using ep6.0 sp18
    how to get EPuser information list who is logging and logged information.
    that to can i get list who has used perticular transaction as VA01 Transaction in R3.
    i want to display these information into one field or view.
    what is the code have to add and where should i?
    can any body give the solution?
    Regards
    Kumar.

    Hi Kumar
    yes it is posible get user information through  webdynpro as Portal application.
    here i give the code in portal application.
    package com.sap;
    import java.util.Iterator;
    import com.sap.security.api.*;
    import com.sapportals.portal.prt.component.*;
    public class Userinfo extends AbstractPortalComponent {
         public void doContent(
              IPortalComponentRequest request,
              IPortalComponentResponse response) {
              IUser user = request.getUser();
              response.write("<h3>Sample User Info</h3>");
              response.write("Display Name: " + user.getDisplayName());
              response.write("<br>First/Last Name: "
                        + user.getFirstName()
                        + " "
                        + user.getLastName());
              response.write("<br>Email: " + user.getEmail());
              response.write("<br>Phone: " + user.getTelephone());
              response.write("<br>OLD METHOD CALL getUid() returns: "
                        + user.getUid());
              response.write("<br>Unique ID: " + user.getUniqueID());
              response.write("<br>Attributes: ");
              String namespaces[] = user.getAttributeNamespaces();
              String ns = null;
             for (int i = 0; i < namespaces.length; i++) {
                   if (i > 0)
                        ns = namespaces<i>;
                   String attrNames[] = user.getAttributeNames(ns);
                   if (ns != null)
                        response.write("<br>NS: " + ns);
                   for (int j = 0; j < attrNames.length; j++) {
                        Object attr[] = user.getAttribute(ns, attrNames[j]);
                        response.write("<br>" + attrNames[j] + " = ");
                        for (int k = 0; k < attr.length; k++)
                             response.write(attr[0].toString() + ", ");
              IUserAccount accounts[] = null;
              response.write("<br>*** LOGIN ACCOUNTS:");
              try {
                   accounts = user.getUserAccounts();
              } catch (UMException e) {
                   response.write("<br>Error getting accounts: "
                        + e.getLocalizedMessage());
              if (accounts != null) {
                   response.write("<br>Number of Login Accounts: " + accounts.length);
                   for (int i = 0; i < accounts.length; i++) {
                        response.write(
                             "<br>** Login ID #"    + i
                                  + ": LogonUID="    + accounts<i>.getLogonUid()
                                  + ", AssignedUID=" + accounts<i>.getAssignedUserID());
                        response.write(
                             "<br>Last Login: "
                                  + accounts<i>.getLastSuccessfulLogonDate().toString());
                        response.write(
                             "<br># Logins: " + accounts<i>.getSuccessfulLogonCounts());
              String myGroups[] = null;
              response.write("<br>My Groups:" );
              myGroups = user.getAttribute("com.sap.security.core.usermanagement",
                        "lmgroup");
              if (myGroups != null)
                   response.write(myGroups[0]);
              else
                   response.write("(none)");
              response.write("<hr>**** Roles: <br>");
              IRole superRole = null;
              try {
                   superRole = getSingleRole("super_admin_role",false);
                   if (user.isMemberOfRole(superRole.getUniqueID(),true))
                        response.write (user.getFirstName() + " IS a super admin");
                   else
                        response.write(user.getFirstName() + " IS NOT a super admin");
              } catch (UMException e) {
                   response.write("Error obtaining role: " + e.getLocalizedMessage());
              Iterator rit = user.getRoles(true);
              response.write("<br>**** ROLE INFORMATION:");
              if (rit.hasNext()) {
                   IRoleFactory rfact = UMFactory.getRoleFactory();
                   while (rit.hasNext()) {
                        String roleName = (String) rit.next();
                        IRole role = null;
                        try {
                             role = rfact.getRole(roleName);
                             response.write("<br>Role:" + roleName 
                                  + "<br>  Display Name:"    + role.getDisplayName()
                                  + "<br>  ID: " + role.getUniqueID()
                                  + "<br>  Uniquename: " + role.getUniqueName()
                                  + "<br>  Description: " + role.getDescription());
                        } catch (UMException e1) {
                                  response.write("error: " + e1.getLocalizedMessage());
         IRole getSingleRole(String searchStr, boolean fuzzy) throws UMException {
              IRoleFactory rfact = UMFactory.getRoleFactory();
              IRoleSearchFilter isf = rfact.getRoleSearchFilter();
              if (fuzzy) {
                   isf.setDisplayName("" + searchStr + "",
                        ISearchAttribute.LIKE_OPERATOR,    false);
         } else {
                   isf.setDisplayName(searchStr ,
                        ISearchAttribute.EQUALS_OPERATOR,false);
              ISearchResult sr = rfact.searchRoles(isf);
              if (sr.size() == 0)
                   throw new UMException("Role: " + searchStr + " not found");
              if (sr.size() == 1)
                   return rfact.getRole((String) sr.next());
              else
                   throw new UMException(
                        "Role: "
                             + searchStr
                             + " not unique (found "
                             + sr.size()
                             + " matches)");
         IGroup getSingleGroup(String searchStr, boolean fuzzy) throws UMException {
              IGroupFactory gFact = UMFactory.getGroupFactory();
              IGroupSearchFilter gsf = gFact.getGroupSearchFilter();
              if (fuzzy) {
                   gsf.setDisplayName("" + searchStr + "",
                        ISearchAttribute.LIKE_OPERATOR,false);
              } else {
                   gsf.setDisplayName(searchStr,
                        ISearchAttribute.EQUALS_OPERATOR,false);           
              ISearchResult sr = gFact.searchGroups(gsf);
         if (sr.size() == 0)
                   throw new UMException("Role: " + searchStr + " not found");
              if (sr.size() == 1)
                   return gFact.getGroup((String) sr.next());
              else
                   throw new UMException("Group: "+ searchStr +
                                  " not unique (found "+ sr.size()+ " matches)");
    JagadishBabu

  • Sharepoint 2010: user information list Vs user profile

    I wrote code for getting user details based on username. I am fetching data from user profile using user profile service. But recently I came to know about "user information list" which stores same data as that of user profile.
    So, My question is which will be better choice : user profile service OR user information list to get user information ?

    User Information list has limitation, firstly its hidden, it can be viewed only administrators.
    Also you will face issue when you migrate your application to SharePoint 2013.
    If you want quick way of know who has permissions you can use this list, but sometime you may end up with outdated user profile(properties) information. 
    Better try to use User profile service wherever possible.
    there is another discussion on this topic here -
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/759d3c83-3fed-4bfc-a591-e88ca40e9407/sharepoint-user-information-list
    reference-http://www.sharepointchick.com/archive/2009/06/17/user-profiles-and-the-user-information-list-or-userinfo-table.aspx
    MCITP: SharePoint 2010 Administrator
    MCTS - MOSS 2007 Configuring, .NET 2.0
    | SharePoint Architect | Evangelist |
    http://www.sharepointdeveloper.in/
    http://ramakrishnaraja.blogspot.com/

  • Need Help to query Lync Database for User Information

    Need Help to Query the lync database to retrieve below user information.
    1. SIP Address of the registered user
            2. Phone Number configured to the particular account.
            3. IP Address
           4. Last Logged in time.
    I am trying to pull the above information from rtc database for all the registered users. Please let me know if this is possible and it would be great if you can throw some light on what tables to look for the data. Thank You.

    Hi,
    For SIP address and Phone number you can check RTC database.
    IP Address:
    You can refer to the link below to query IP address: 
    http://h30499.www3.hp.com/t5/Business-Service-Management-BAC/Monitoring-Lync-with-the-User-Registrations-Viewer-Free-NMC-tool/ba-p/5961497#.UtOU43mIrwo
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
    Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
    Last Logged in time:
    You can refer to the link below:
    http://blogs.technet.com/b/dodeitte/archive/2011/05/11/how-to-get-the-last-time-a-user-registered-with-a-front-end.aspx
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Custom reprot to get transfer user information in OIA 11g

    Hi ,
    As per my requirement we have to developed custom report for "*List of users who transferred to a new Direct Manager*" . To identify the transfer event we are using event listner in OIA 11g. Could you please provide me pointer how to fetch the transfer event in the query or what is the best way to get the transfer user information.
    Regards,
    Amit

    You're biggest problem is knowing which users get new managers.
    2 Ways on looking at this
    1 - Users associated to businessunits (different managers are associated to different businessunits)
    2 - The users attribute 'manager' gets updated
    Both situations don't withhold the information when associations or which attributes (and when) get updated other than the 'last updated' date gets updated.
    Possible solution - Create a new table (with the exact schema as the original table but without the constraints), copy all the information over from the original table to the new table, do the imports/updated. Once the updates are complete run a custom report and compare the difference between the old and new data
    If it's #1, you need to duplicate the rbacxservice.BU_globalusers table
    If it's #2, you need to duplicate the globalusers table
    Regards,
    Daniel

Maybe you are looking for

  • Search box not working in Web site

    Anybody knows why the search box at the following address is not working? Type any word in there, even if it is contained several times in the blog, and you will get no result. http://tinyurl.com/6s4gcr I have been trying for months to get an answer

  • Loop in motion assistant specified number of times?

    I was wondering if in motion assistant I can do a loop in my script so that each movement can be repeated many, many times without having to create a new 'step' for each movement? Any help is appreciated. Thanks, Nichole

  • I need to download a copy of audition cs5.5

    Can someone tell me where to download audition cs5.5

  • DUET Enterprise vs BO BI Integration Option for Microsoft Sharepoint

    I am struggling to find the right management overview to position DUET Enterprise vs BO BI Integration for Microsoft Sharepoint. My high level definition of DUET Enterprise is to expose SAP Data and Processes into the Microsoft Sharepoint Environment

  • Variable Filter in Xcelsius

    Hello, I´ve been looking for a way to filter the data from BW before getting in the Xcelsius. I have a Query in BW with some variables and i´d like to use this variables in the Xcelsius for the Users choose what data want to see Is there a way to do