Using Logged in user as query limit

<p>Can you capture the logged in user's username to use as a queryparameter? If so, how do you access it through the Hyperion 8 webclient?</p><p> </p><p>Thanks,</p><p>John</p>

Duplicate of User-Specific Database Connection

Similar Messages

  • How to use logged in user in the portlet

    Hi,
    From the portal application I have to get the logged in user and use the same user to filter the records in Portlet. I have to execute a view Criteria in portlet as a default method activity which takes logged in user as a input param.
    Is this achievable? Please let me know.
    Thanks in Advance
    Morgan.
    Its a duplicate of How to set userName from security context to Criteria in portlet
    Edited by: Morgan Freeman on Aug 24, 2011 1:24 AM

    It's possible. It's somewhat large to explain so i will write an example portlet. I will post the link to the application when it's finished.
    You just need to request the username from within your portlet. WebCenter passes the username to your portlet on the PortletRequest.
    From your business component you should write a query with a bind variable that you expose to your client. In your JSPX (portlet) you execute the method that sets the bind variable and create an InvokeAction in the executables so it gets executed upon load.
    That's the short description :)
    I'll give some more info when i finish the app.

  • Using logged in user in DBTransactions

    Using JDeveloper 11.1.1.6
    Currently, I have 1 database connection created using a generic database user.  All database transactions are creating using the generic user.
    What I would like to do is have the database transactions created using the user that logged in to the application (app user and db user are the same).
    Thanks,
    Raymond

    Duplicate of User-Specific Database Connection

  • Currently Logged in User

    Dear Experts
    i would like to know that how can we get the currently logged in user through query or some other option, as i want to generate different document series for every single user.
    Secondly, if i have a party which is my customer as well as my vendor, how i can perform netting so as to get the recievables and payables for the particular party.

    Hi,
    One way to get current logged in user list is through the XML file on the licensing server.  Otherwise, you can get current user by
    Select T0.U_Name From dbo.OUSR T0 Where T0.UserID = $[USER\].
    What is your B1 version and PL? It may not be the same for 2005 or 2007 to handle those BP with both types.
    Thanks,
    Gordon

  • Need query to determine current logged in user

    Because I see no way in sccm 2012 to determine if someone is currently logged into a domain joined computer.  Does anyone have a query or know of a way to get the current logged in user of a computer? I am surprised that SCCM does not show that information
    when looking at the particular device.  I did find a powershell query that I use that tells me the last logged in user but it gives me no indication if the user is currently logged in or if it was a week ago.
    Thank you.

    This PowerShell script queries a remote machine to obtain the current logged on user.  It's available on the Repository (https://gallery.technet.microsoft.com/scriptcenter/d46b1f3b-36a4-4a56-951b-e37815a2df0c).
    function Get-LoggedOnUser {
    #Requires -Version 2.0
    [CmdletBinding()]
    Param
    [Parameter(Mandatory=$true,
    Position=0,
    ValueFromPipeline=$true,
    ValueFromPipelineByPropertyName=$true)]
    [String[]]$ComputerName
    )#End Param
    Begin
    Write-Host "`n Checking Users . . . "
    $i = 0
    }#Begin
    Process
    $ComputerName | Foreach-object {
    $Computer = $_
    try
    $processinfo = @(Get-WmiObject -class win32_process -ComputerName $Computer -EA "Stop")
    if ($processinfo)
    $processinfo | Foreach-Object {$_.GetOwner().User} |
    Where-Object {$_ -ne "NETWORK SERVICE" -and $_ -ne "LOCAL SERVICE" -and $_ -ne "SYSTEM"} |
    Sort-Object -Unique |
    ForEach-Object { New-Object psobject -Property @{Computer=$Computer;LoggedOn=$_} } |
    Select-Object Computer,LoggedOn
    }#If
    catch
    "Cannot find any processes running on $computer" | Out-Host
    }#Forech-object(Comptuters)
    }#Process
    End
    }#End
    }#Get-LoggedOnUser

  • Using sp.js how to query list items where current user is the author

    using javascript, want to query list items where the author is the current logged on user.
    how to construct a caml query for author and logged on user?
    http://msdn.microsoft.com/en-us/library/office/hh185007(v=office.14).aspx

    Hi,
    Thanks for your sharing.
    Jason
    Jason Guo
    TechNet Community Support

  • [svn:bz-trunk] 21154: Made sure the long-polling channel uses the new unlimited persistent connection limit as well when there 's no known user agent.

    Revision: 21154
    Revision: 21154
    Author:   [email protected]
    Date:     2011-04-27 07:16:48 -0700 (Wed, 27 Apr 2011)
    Log Message:
    Made sure the long-polling channel uses the new unlimited persistent connection limit as well when there's no known user agent.
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/endpoints/BasePollingHTTPEndpoint.java

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • Query to find out the time used by an user for an application

    Hello All,
    I want to know the query to find out the whole time used by the user for an application. Please view the below data
    Employee:
    SNO EMP_ID EMP_NAME EMP_DATE LOGIN_TIME LOGOUT_TIME
    1 10 Visu 21-Nov-2010 06:30:00 07:30:00
    2 10 Visu 21-Nov-2010 06:40:00 07:20:00
    3 10 Visu 21-Nov-2010 06:50:00 07:50:00
    4 10 Visu 21-Nov-2010 07:30:00 08:30:00
    5 10 Visu 21-Nov-2010 09:30:00 10:30:00
    By checking the above data we can say that the total time Visu used the application is
    8.30 - 6.30 (From 1,2,3,4 records) = 2hrs
    10.30 - 9.30 (Based on 5th rec) = 1hr
    So the total time Visu used the application would be 3 hrs = 180 mins.
    Could you please help me in getting the result from that data using a query?

    odie_63 wrote:
    I think it may be solved with analytics too.
    with t1 as (
                select 1 sno,10 emp_id,'Visu' emp_name,'21-Nov-2010' emp_date,'06:30:00' login_time,'07:30:00' logout_time from dual union all
                select 2,10,'Visu','21-Nov-2010','06:40:00','07:20:00' from dual union all
                select 3,10,'Visu','21-Nov-2010','06:50:00','07:50:00' from dual union all
                select 4,10,'Visu','21-Nov-2010','07:30:00','08:30:00' from dual union all
                select 5,10,'Visu','21-Nov-2010','09:30:00','10:30:00' from dual
         t2 as (
                select  emp_id,
                        emp_name,
                        emp_date,
                        to_date(emp_date || login_time,'DD-MON-YYYYHH24:MI:SS') login_time,
                        to_date(emp_date || logout_time,'DD-MON-YYYYHH24:MI:SS') logout_time
                  from  t1
         t3 as (
                select  t2.*,
                        case
                          when login_time < max(logout_time) over(
                                                                  partition by emp_id,emp_date
                                                                  order by login_time
                                                                  rows between unbounded preceding
                                                                           and 1 preceding
                            then 0
                          else 1
                        end start_of_group
                  from  t2
         t4 as (
                select  t3.*,
                        sum(start_of_group) over(partition by emp_id,emp_date order by login_time) grp
                  from  t3
         t5 as (
                select  emp_id,
                        emp_date,
                        min(login_time) login_time,
                        max(logout_time) logout_time
                  from  t4
                  group by emp_id,
                           emp_date,
                           grp
    select  emp_id,
            numtodsinterval(sum(logout_time - login_time),'day') time_spent
      from  t5
      group by emp_id
      order by emp_id
        EMP_ID TIME_SPENT
            10 +000000000 03:00:00.000000000
    SQL> SY.

  • 'The logged-on user does not have permission to use this object'

    Hello everyone,
    I am getting the message 'The logged-on user does not have permission to use this object' while saving the Sales Order. I am logging in as a CRM user. There is an addon also running on the server, that saves some data into a user defined table when the Sales Order is saved. Is there any authoisation for users to access user defined tables.
    Regards,
    William

    hi William,
    this is an Authorization issue. provide the user with authorization on your UDT. Definition of user authorization can be found in Administration -- >> System Initialization -->> Authorizations -->> Additional Authorization Creator.... if already defined from here you can fined the additional authorization from the General authorization window.
    regards,
    Fidel

  • Query or Profile Option to find Current logged in user in oracle apps R12

    Query or Profile Option to find Current logged in user in oracle apps R12.
    I want to get value of current user who is logged in to that particular session, based on the value of user_id or user_name returned i have to do a Forms Personalization.
    Plz help.
    Regards,
    Sadiya P.

    Hi Sadiya,
    do you have the answer for this? please send it to me because i am also have same requirement. so plz post it here....

  • How to get the currency of the logged in user using an el expression

    I want to get the currency of the logged in user using an el expression. I can get the same using ApplSessionUtil.getCurrency(). But can i get the same using an el exprssion?. I want to use this el expression for setting the default value of a VO attriubte
    Thanks in advance

    Hi
    If you are getting the currency value from ApplSessionUtil.getCurrency() set the result of the value to one of your VO on Bean and use it in your el expression .
    Thanks
    Raghav

  • Caml query to check current logged in user - SharePoint designer

    Hi,
    I need to create a caml query in SharePoint designer to satisfy the below conditions.
    If the logged in user (current user) is a member of a specific group. e.g. Group Name = ISS Owners, ID=5
    (OR)
    If the logged in user (current user) exists in assigned to field. e.g. Field Name = Assigned To
    Reference to the below link is not working for my solutions.
    Membership Element (Query)
    CAML Query – Membership attribute
    Kindly help in resolving caml query issue.
    Anandhan.S Remember to 'mark or propose as answer' or 'vote as helpful' as appropriate.

    The second condition is pretty straightforward
    <Eq>
    <FieldRef Name="AssignedTo"/>
    <Value Type="Integer">
    <UserID />
    </Value>
    </Eq>
    but I don't think you can do the former. The <Membership> condition can only be applied to a <FieldRef>, not a generic <Value> argument.
    But what would be the purpose of the first condition in the first place? It's invariant, not related to specific list items. Or is the requirement to return all items if the user is a member of a group (Administrators?), but only assigned-To items if not:
    If so, is there some way you can refactor the check for the former condition into some higher level logic? 

  • CAML query to get task assigned to current logged in user

    I want to know the CAML query to get tasks assigned to the currently logged in user
    Nour

    Hi,
    This is the query that worked for me
    <Where>
    <And>
    <Or>
    <Membership Type=’CurrentUserGroups’>
    <FieldRef Name=’AssignedTo’ />
    </Membership>
    <Eq>
    <FieldRef Name=’AssignedTo’  LookupId=’TRUE’ />
    <Value Type=’Lookup’>123</Value>
    </Eq>
    </Or>
    <Neq>
    <FieldRef Name=’Status’ />
    <Value Type=’Text’>Completed</Value>
    </Neq>
    </And>
    </Where>
    Regards,
    Nishant Rana
    http://nishantrana.wordpress.com https://twitter.com/#!/nishantranacrm

  • OIM11gr2 - How to get currently logged in user details using oim api

    Hi All,
    I have a requirement to retrieve currently logged in users profile in the process adapter.
    I have tried with getSelfProfile in tcUserOperation and also ContextManager.getOIMUser API's however, in both the cases i am getting xelsysadm details only.
    Also as know request details in Process task mapping doesnot work for OIM11g onwards (its returning column not found exception )
    DOes any one has idea how to achieve this.
    PS. - i am using platform to retrieve API's.
    Thanks & Regards
    Swati Pandey

    You can get the logged in user name using the below java code:
    ADFContext adfCtx = ADFContext.getCurrent();
    SecurityContext secCntx = adfCtx.getSecurityContext();
    String user = secCntx.getUserPrincipal().getName();
    HTH

  • Using credentials of a logged in user with JMX (Admin console extension)

    Hello,
    I would appreciate any info regarding creation of a connection to the DomainRuntimeService MBean server in an administration console extension in BEA Weblogic 9.2.
    The problem is that if I provide no security credentials, I'm not able to invoke any operations on the MBean server. Also the possibility of providing "default" user credentials within the extension "configuration" used to authenticate is not an option.
    The most convenient way would be to use the same mechanisms used by the rest of the administration console, but there seems to be very little information around about where to retrieve the username/password used to log in to the console.
    Thank you very much in advance, If you didn't understand my question, please ask for more information since English is not my native tongue.

    Hi,
    Check the following wiki content submitted by Michael Nicholls:
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/excel%252bspreadsheet%252bof%252bume%252bassignment%252bdata
    The code for getting groups for your case (current logged in user) should be like:-
    IWDClientUser clientUser = WDClientUser.getLoggedInClientUser();
    IUser user1 = clientUser.getSAPUser();
    Iterator groups = user1.getParentGroups(false);
    while (groups.hasNext()) {
    IGroup group = groupFact.getGroup(groups.next().toString());
    String groupname = group.getDisplayName();
    Add this group name to a list
    I do not have NWDS access at the moment so haven't checked it myself... you may try it out.
    Also check out the following threads on the same issue:
    Re: Get all Groups for current user
    Re: Portal User and Role info

Maybe you are looking for

  • Microphone is no longer recording -- help nee

    Hello. I have a Sound Blaster Li've! 24-bit sound card. I used to be able to record with my microphone which is hooked up to a pre-amplifier which is hooked up to the sound card's recording port on the back of my PC. Then, in the summer, I wasnt able

  • OneKey 5.2 - WHERE are Back-up images / scans,,,STORED?

    I installed the OneKey patch and to reduce the stress on the "C" Drive, I changed the location that the OneKey images are stored (to the "D" Drive) at least I thought that I did but a few hours after I installed version 5.2, I got the dreaded Insuffi

  • How to start Premiere Elements 11 with welcome screen

    How to start Premiere Elements 11 with welcome screen

  • Changing a title's font size

    I'm not sure if this is possible or not, but when I add a centred title with two lines, iMovie automatically makes the font size of the first line larger than that of the second line. Ideally, I'd like this to be the other way around, so that in my c

  • Tell a Friend connection to Address Book

    When I choose to share music or and app with a friend, in the email creation box, why doesn't iTunes or the app store pick up the names and email addresses from my address book?