Get real userid from a WDA application that uses service account

A WDA application runs under a service account. How to get the real userid (i mean, the human user)?

When running as a service user, the application is anonymous.  In other words no user authentication or identification takes place.  What kind of "real" user information would you expect to get?  Are you running in the NetWeaver Portal?  Or standalone?  What informaiton are you looking for?  Of course nothing within ABAP is going to be able to "see" the real user since the user session is running as the service account. Why exactly are you using a service user anyway?  There are only very few instances where service users in WDA applications wouldn't be a violation of your license agreement.

Similar Messages

  • Recently, I can't get any sound from my game applications.  Sound works fine with video, streaming, etc, but not my game applications.  I've tried powering down and re-booting, but the sound does not return.  Can anyone help me?

    Recently, I can't get any sound from my game applications.  Sound works fine with video, streaming, etc, but not my game applications.  I've tried powering down and re-booting, but the sound does not return.  Can anyone help me?

    Have you got notifications muted ? Only notifications (including games) get muted, so the Music and Videos apps, and headphones, still get sound.
    Depending on what you've got Settings > General > Use Side Switch To set to (mute or rotation lock), then you can mute notifications by the switch on the right hand side of the iPad above the volume switch, or via control centre : swipe up from the bottom edge of the screen and it's the right-most of the 5 icons in the middle of it (if the icon is white then it's 'on', tap it to turn it grey and 'off'). The function that isn't on the side switch is set via control centre instead : http://support.apple.com/kb/HT4085

  • An error occurred while getting property "userId" from an instance of class

    Running application SRDemo (Tutorial Chapter 6 Implementing Login Security)
    After logging, the List page popped up. But no data returned. Get Error
    JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: java.lang.RuntimeException, msg=javax.servlet.jsp.el.ELException: An error occurred while getting property "userId" from an instance of class oracle.srdemo.view.UserInfo.
    Questions:
    1. What are possible reasons to cause the getting property "userId" problem?[
    2. Why the Login page asked User Name and Password and the program used the query with "WHERE (EMAIL = 'sking')"
    The Log file shows the select statement:
    SELECT USER_ID, FIRST_NAME, LAST_NAME, CITY, POSTAL_CODE, EMAIL, STATE_PROVINCE, COUNTRY_ID, STREET_ADDRESS, USER_ROLE FROM USERS WHERE (EMAIL = 'sking')
    [TopLink Info]: 2006.11.08 11:07:09.468--ServerSession(1235)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--SRDemoSession login successful
    [TopLink Finer]: 2006.11.08 11:07:09.468--ServerSession(1235)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--client acquired
    [TopLink Fine]: 2006.11.08 11:07:09.500--ServerSession(1235)--Connection(1925)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--SELECT USER_ID, FIRST_NAME, LAST_NAME, CITY, POSTAL_CODE, EMAIL, STATE_PROVINCE, COUNTRY_ID, STREET_ADDRESS, USER_ROLE FROM USERS WHERE (EMAIL = 'sking')
    [TopLink Finer]: 2006.11.08 11:07:09.578--ClientSession(2021)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--client released
    [TopLink Finer]: 2006.11.08 11:07:09.625--ServerSession(1235)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--client acquired
    [TopLink Fine]: 2006.11.08 11:07:09.625--ServerSession(1235)--Connection(1922)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--SELECT USER_ID, FIRST_NAME, LAST_NAME, CITY, POSTAL_CODE, EMAIL, STATE_PROVINCE, COUNTRY_ID, STREET_ADDRESS, USER_ROLE FROM USERS WHERE (EMAIL = 'sking')
    [TopLink Finer]: 2006.11.08 11:07:09.625--ClientSession(2027)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--client released
    2006-11-08 11:07:09.640 WARNING JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: java.lang.RuntimeException, msg=javax.servlet.jsp.el.ELException: An error occurred while getting property "userId" from an instance of class oracle.srdemo.view.UserInfo
    2006-11-08 11:07:09.640 WARNING JBO-29000: Unexpected exception caught: java.lang.RuntimeException, msg=javax.servlet.jsp.el.ELException: An error occurred while getting property "userId" from an instance of class oracle.srdemo.view.UserInfo
    2006-11-08 11:07:09.640 WARNING javax.servlet.jsp.el.ELException: An error occurred while getting property "userId" from an instance of class oracle.srdemo.view.UserInfo
    2006-11-08 11:07:11.515 WARNING rowIterator is null
    2006-11-08 11:07:11.515 WARNING rowIterator is null
    Process exited.

    Hi,
    I got the answer to my question. The tables were not populated. So I ran the script - populateSchemaTables.sql, and got the data into the tables. The error is gone!
    Lin

  • How to get real value from selectOneChoice with javascript?

    Hi,
    How to get real value from selectOneChoice with javascript? The event.getNewValue() only gets me the index of the selected item, not the value/title.
    JSF page:
    <af:resource type="javascript">
    function parseAddress(event)
    alert("new value: " + event.getNewValue());
    </af:resource>
    <af:selectOneChoice label="Location:" value="" id="soc4">
    <af:clientListener type="valueChange" method="parseAddress" />
    <f:selectItems value="#{Person.locations}" id="si7"/>
    </af:selectOneChoice>
    HTML :
    <option title="225 Broadway, New York, NY-10007" selected="" value="0">225 Broadway (Central Office)</option>
    <option title="90 Mark St., New York, NY-10007" value="1">90 Mark St. (Central Office)</option>
    Thanks a lot.

    Something I was missing ,
    You need to add valuePassThru="true" in your <af:selectOneChoice component. I have personally tested it and got the actual value in alert box. I hope this time you got the real solution. You can also test the following code by your end.
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:panelBox text="PanelBox1" id="pb1">
    <af:selectOneChoice label="Set Log Level" id="soc1"
    value="#{SelectManagedBean.loggerDefault}"
    valuePassThru="true">
    <af:selectItem label="select one" value="First" id="s6"/>
    <af:selectItem label="select two" value="Second" id="s56"/>
    <af:clientListener method="setLogLevel" type="valueChange"/>
    </af:selectOneChoice>
    <af:resource type="javascript">
    function setLogLevel(evt) {
    var selectOneChoice = evt.getSource();
    var logLevel = selectOneChoice.getSubmittedValue();
    // var logLevelObject = AdfLogger.NONE;
    alert("new value is : " + logLevel);
    //alert(evt.getSelection);
    //alert(logLevelObject);
    evt.cancel();
    </af:resource>
    </af:panelBox>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>

  • HT5312 I keep getting an email from Apple telling me that my Apple Id has been successfully reset when I did not reset them.  Started early June 2013 and in a month i have had to reset it three times. Apple support was not helpful.  Any suggestions?

    I keep getting an email from Apple telling me that my Apple Id has been successfully reset.  I did not reset it.  Since early June 2013 to now i have had to reset it 3 times.  It is not an easy one to remember either. Initally I thought it was some pfishing expedition but no purchases have been confirmed by my visa.  My kids use my Apple Id to download APs and I am informed when this happens.  Nothing strange happening on the financial site at all. Just frustrating as we have to keep updating the ID to use messenger, I cloud etc on all of the devices.  I called Apple Support and the girl initally said she knew nothing about this but then spoke to someone else and they are aware of this ongoing problem and are working on it.  Any suggestions? Are others having the same problems?

    If the system didn't ship with Mountain Lion originally and you didn't purchase Mountain Lion yourself, then you will need to purchase. A purchase by the system's original owner cannot be transferred to you.
    Unless you have another system on which you have purchased Mountain Lion, you will need to first install Mac OS X 10.6.8 on the iMac, for which you'll need either the original installation disks, if the iMac came with 10.6, or a retail copy of 10.6. Install 10.6 and upgrade to at least 10.6.6, and then you can buy Mountain Lion from the Mac App Store, presuming of course that the imac can support Mountain Lion. See:
    http://www.apple.com/osx/how-to-upgrade/
    Regards.

  • After updating to mavericks I have to constantly enter my apple ID for mail, iBooks, iTunes and many other applications that used to be part of my keychain. How can I get my log-in to work again?

    After updating to mavericks I have to constantly enter my apple ID for mail, iBooks, iTunes and many other applications that used to be part of my keychain. How can I get my apple ID log-in to work again?

    Several times I've re-entered my passwords under Preferences/Internet Accounts/iCloud and it won't save since I've installed Mavericks.  Also, the iCloud icon in the left column in Preferences/Internet Accounts/iCloud is greyed out but allows me to click on it to set-up.  When I click on iCloud the password is filled out but the "Enable this account" check-box is not checked.  I check it, and all seems correct.  The icon is no longer grey, the password is correct, the "activate this account" check-box is checked.  Then, when I launch mail, notes etc. I'm still prompted to re-enter my apple ID.  The log-in loop continues.  For years my keychain has worked perfectly.  What has changed in Mavericks?

  • SRDEMO ??? error occurred while getting property "userId" from an instance

    Error
    JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: java.lang.RuntimeException, msg=javax.servlet.jsp.el.ELException: An error occurred while getting property "userId" from an instance of class oracle.mysrdemo.view.UserInfo
    JBO-29000: Unexpected exception caught: java.lang.RuntimeException, msg=javax.servlet.jsp.el.ELException: An error occurred while getting property "userId" from an instance of class oracle.mysrdemo.view.UserInfo
    javax.servlet.jsp.el.ELException: An error occurred while getting property "userId" from an instance of class oracle.mysrdemo.view.UserInfo
    Hello,
    Can you please guide to correct the above error. Thanks a lot.
    DShah

    Hi,
    I got the answer to my question. The tables were not populated. So I ran the script - populateSchemaTables.sql, and got the data into the tables. The error is gone!
    Lin

  • V5 How can I get the code from an itunes gifcard that got scraped off

    How can I get the code from an itunes gifcard that got scraped off

    Try Here  >  http://support.apple.com/kb/TS1292
    If no joy...
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • I am getting text messages from a "textfree" number that cannot be identified

    I am getting text messages from a "textfree" number that cannot be identified. The text messages are threatening and I am trying to match the unknown number to a person. How can I do that?

    Hello uncl@home,
    Thanks for reaching out to us for assistance with unwanted texts on your device. After all, we're always here to help when you need us. I wanted to touch bases with you to see if the issue has been resolved. Just curious, are you getting unwanted texts from a 10-digit number? If so then you can have the texts blocked at www.vzw.com/spamcontrols. For all other unwanted texts, forwarding them to 7726 is the method to have them addressed. Let me know, just in case more options are needed.
    Thank you...
    ArnettH_VZW
    Follow us on Twitter @VZWSupport

  • Distributing an application that uses componentworks++

    I am new to using MS. 
    I am going to distribute a Visual C++ application to a remote site, sending the customer a DVD.
    The application is an MFC application that uses ComponentWorks++ (from Measurement Studio)  and NiDaq.
    What do I need to be able to distribute this application?  Do I need to license each  target for MS?  Do I need to separately install Component Works++ on the target?
    Thanks,
    Menchar

    I'm still having some issues ...
    We went ahead and used InstallShield 12.0 to create a release file (setup.exe).  We're using MS 1.0.1 so we didn't have merge modules, but rather a bunch of .ocx and .dll files in a /redist    folder that looks to be the stuff you distribute to get a ComponentWorks++ application deployed.  So we included all of those and InstallShield deployed them into the WinNT system folder.
    Our app also uses NI-DAQ 6.9, and my understanding is that NI-DAQ must be run on its own installer as provided by NI.  So we didn't include any NI-DAQ stuff.
    We tried testing our release on a WindowsNT virtual machine (clean machine).  We first installed NI-DAQ, then ran our app installer (setup.exe).  Install of NI-DAQ and our app appears to go OK, but when we run the application in the virtual machine it fails to start, giving us a popup that says it can't find the CVI rte!  We installed the CVI RTE just for giggles but it still died on startup.  Does NI-DAQ 6.9 use the CVI runtime engine?
    My question now is, can we expect our app to start on the virtual machine?  The app is designed to run without any NI-DAQ HW present.  I am able to run it on an XP machine without any NI-DAQ HW, but that machine also has ComponentWorks++ 1.0.1 installed, VC++ 6.0 SP 5, and NI-DAQ of course as well (but no NI DAQ HW), and I didn't install the application, I just ran the executable after building it on the XP machine.  The app also runs OK on the intended WinNT 4.0 target - but the target has NI-DAQ HW & SW, all of MS 1.0.1 (including CVI), and VC++ 6.0 SP5 installed.
    So I can't say I've been able to create a distribution that will install and run on a system that doesn't already have NI-DAQ, CW++ and VC++ installed.  I can't find any relevant help on the NI site for these old versions of CW++.
    I'm also curious if there's a dependency between CW++ and CW?  I.e., from a VC++ application, could it have a dependency on CW (my understanding CW is for VB only).
    I see what looks like a VC6 runtime of some sort in the CW /redist folder - is this an extension of the Microsoft VC runtme dll? 
    Thanks for any help with this, it's funky working with these old versions - I have to support some long-lived systems deployed overseas.
    Menchar

  • How to interface a tuxedo app with another application that uses tcp/ip socket  messaging

    How would you interface a tuxedo app with another application that
    uses tcp/ip socket messaging? I have a vendor product that offers
    a tcp/ip message interface, and would like to know how best to
    integrate it into a tuxedo application. I could write a C application
    that listens and accepts incoming request from the vendors application,
    and then make a tuxedo client call to a service. But this doesn't
    allow me to control the listen thread through tuxedo. The C application
    would have to be started seperately and would not take advantage
    of the tuxedo restart facilities etc of a tuxedo service.

    You can make an empty server only with tpsvrinit that starts your client
    listeners and a tpsrvdone that stops them. Be carefull with sharing ipcs
    between processes, or your clients may get puzzled!!!
    Another choice can be builting a custom WSL/WSH but I haven't done
    this yet and I don't know exactly the troubles related with making them.
    R.G.
    Travis Ward wrote:
    How would you interface a tuxedo app with another application that
    uses tcp/ip socket messaging? I have a vendor product that offers
    a tcp/ip message interface, and would like to know how best to
    integrate it into a tuxedo application. I could write a C application
    that listens and accepts incoming request from the vendors application,
    and then make a tuxedo client call to a service. But this doesn't
    allow me to control the listen thread through tuxedo. The C application
    would have to be started seperately and would not take advantage
    of the tuxedo restart facilities etc of a tuxedo service.

  • Right way to code an AIR application that uses sqllite database

    I am developing an AIR application that uses sqllite database.I want to know the correct way in which I should create the connections and SQLstatements according to MVC pattern.For example,whether i should have a single SQLStatement object for all my sql operations or I should use separate objects for insert,delete,select etc.I know how to open connection,execute statements and all,but i want to know the professional way of writing it.

    Make a controller for connect to db and save the connection in global varible (in model). Use this connection variable whenever u wanna execute the sql statements. Create seperate dao's for each table. Queries should be executed under the daos. You can call the method under the dao for execute the query from controller and show the result in view.

  • I am having issues with Sidebar files not appearing from within InDesign CS5.5. They show up fine from other Adobe applications. Using OS10.6.8.

    I am having issues with Sidebar files not appearing from within InDesign CS5.5. They show up fine from other Adobe applications. Using OS10.6.8.

    I would first of all trash the preference file for InDesign, make sure the application is closed then find the prefs in
    /Users/USER NAME/Library/Preferences/Adobe InDesign and just throw the entire folder away, it will generate a new one after you launch InDesign again.
    Now launch InDesign and see if the problems are resolved.
    If not I would repair your permissions on your hard drive wih disk utility, and if that fails then di-install InDesign and re-install that single application.
    Let me know if any of these suggestions work for you
    I will be checking my email although you might have to wait for a response as I will be taking a microlight flight over the Victoria Falls tomorrow. Yay can hardly wait.

  • How can I build a LabView application that uses the 2012 runtime, on a development system with LabView 2013 or 2014 installed?

    I need to build a LabView application .exe to run with the 2012 Runtime, for legacy support. I currently have LabView 2013 installed on my development system, and have 2014 available. How can I build an application that uses the 2012 runtime on this development system? Do I have to downgrade to 2012? Thank you.

    We have existing customers that have installed our application that was originally built with 2012 (provided by a contractor that is no longer available).  Due to IT regulations, it is far easier to update these customers by simply replacing the .exe file, than creating an install that their IT department must run.
    If I have to downgrade to LabView 2012, where can I get the installation for this?

  • How to mirror games (real racing3) from iPad to samsung tv, using apple tv ?

    Hello, how do I mirror games (real racing3) from iPad to samsung tv, using apple tv & apple extreme card ? Kind Regards Sean.

    If your going to play real time games your best bet is to use the HDMI adaptor. Due to the lag or rather delay with the response time of Apple TV or any other wireless method. Other then that you should be able to swipe up from the bottom of the screen to pull up your settings. Tap on Apple TV then chose mirroring. The icon only appears if the Apple TV box is ready and able to connect.

Maybe you are looking for