Make information about the current user available in a managed bean

I've overridden prepareSession in an Application Module (AM) so that when a user logs into my application, it immediately uses the username as a bind variable to execute the query for a View Object (VO) that gets more information about the user, like full name, e-mail address ... This works fine and I'm able to bind the VO to a page and display the information.
But now I'm beginning to realize that I'm going to need this information about the user throughout the application. Do I have to include an iterator for the user info VO and associated attributeValues on every single pageDef, or is it possible to write a single managed bean that will expose the attributes of the single row of the VO as properties. The application I'm working on now is a "minor" upgrade of a JDeveloper 10.1.3 application, so I need a 10.1.3 solution, but I have a 11.1.2 application in the works that will probably do the same thing.
Oh, and sorry if this is an FAQ - I'm probably not using good search terms to find solutions that have already been posted.

Thank you Nick -
Your code didn't give me exactly the answer I needed, but it pointed me in the right direction. For one thing, I had a version of ADFUtils that didn't have the getApplicationModuleForDataControl method. However I was able to do a Google search and find working code for the missing method. And since the values I need to expose in the managed bean are from the VO, not the AM, I had to go one step further and get a reference to the VO from the AM, and then a reference to the first (and only) row of the VO.
For anyone else with this question, here's my version of the code:
public class UserInfo implements Serializable {
    private String eMail;
    private String stateCode;
    private String fullName;
    public UserInfo() {
        AppModuleImpl appModule =
            (AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
        ContactInfoViewImpl contactInfoVO =
            (ContactInfoViewImpl)appModule.getContactInfoView1();
        contactInfoVO.reset();
        ContactInfoViewRow contactInfo =
            (ContactInfoViewRow)contactInfoVO.first();
        stateCode = contactInfo.getConStCode();
        System.out.println("At construct UserInfo stateCode=" + stateCode);
        eMail = contactInfo.getConInternetAddr();
        System.out.println("At construct UserInfo eMail=" + eMail);
        fullName =
                contactInfo.getConFname() + " " + (contactInfo.getConMi() != null ?
                                                   contactInfo.getConMi() +
                                                   " " : "") +
                contactInfo.getConLname();
        System.out.println("At construct UserInfo fullName=" + fullName);
    public String getStateCode() {
        return stateCode;
    public String getEMail() {
        return eMail;
    public String getFullName() {
        return fullName;
}

Similar Messages

  • Query to get objects list for which the current user has 'SELECT' privilege

    Hi,
    I want to get tables and views list for which the current user has 'SELECT' privilege excluding sytem tables and views. The privilege information for the current user is scattered in more than one system views. I have following system views
    USER_TAB_PRIVS_RECD - Object grants for which the current user is the grantee
    ROLE_TAB_PRIVS - describes table privileges granted to roles. Information is provided only about roles to which the user has access.
    If the object privilege is granted explicitly like "GRANT ALL ON TABLE_NAME TO "USERNAME" then this privilege entry goes to USER_TAB_PRIVIS_RECD
    If the object privilege is granted by ROLE. Role is created with certain object privileges. this role is assigned to user "GRANT ROLE_NAME TO "USERNAME"", then this entry goes to ROLE_TAB_PRIVS
    From these findings, I have composed below query
    (SELECT DISTINCT TABLE_NAME FROM USER_TAB_PRIVS_RECD) UNION (SELECT DISTINCT TABLE_NAME FROM ROLE_TAB_PRIVS WHERE PRIVILEGE = 'SELECT')
    Have I got user's all prvilege details? should I look some other system views?
    How to exclude system table privileges details?
    (SELECT DISTINCT TABLE_NAME FROM USER_TAB_PRIVS_RECD) UNION (SELECT DISTINCT TABLE_NAME FROM ROLE_TAB_PRIVS WHERE PRIVILEGE = 'SELECT' AND OWNER NOT IN ('SYS','SYSTEM') Is this right?
    What about Public role in Oracle? Should I consider public role here?
    Oracel Version :11g
    I want make this query to work on Oracle 8i or above version
    Thanks

    >
    I want to get tables and views list for which the current user has 'SELECT' privilege excluding sytem tables and views.
    >
    You will need a hierarchical query to do that.
    Try this script for Listing privileges recursively for Oracle users
    http://www.adp-gmbh.ch/ora/misc/recursively_list_privilege.html

  • Backup problem message: "no information about the ...

    Hi my problem is I want to backup my phone, which I've never done in the past so the first time I try it comes up with the message "no information about the latest backup available..." and it says something about try restoring already made backups if I have any, however I've never done so. So I thought maybe it auto-backups? So I try restore but nothing is found (not surprised since I've NEVER made backups). And the phone is seen through the CA-53 USB cable.
    Now I got a generic USB cable which driver for it is possibly different then the one for this newer version of PC Suite because the USB driver CD also included an older version of PC Suite (version 3.0 I believe) however I skipped that and just installed the driver, then went online and got the latest version of PC Suite for my phone. It said it had to change drivers, etc. And so I just let the online PC Suite's USB drivers write over the one that came with my cord. PC Suite connects fine, I think everything works. Music transfers, it is seen and connected. Haven't tried other things but I just want to make a backup. Which comes up with that wierd message. Anybody have any ideas? Cuz All I've found about backups are people who have already made ones and then errors occur. I can't even get to that stage. Now the whole talk about drivers for the USB cord might have nothing to do with it (since everything else works fine) but I just thought I'd mention it.\
    Thanks so much and I know I've probably added some useless info but I really want the problem resolved.
    Thanks in advanced!
    Operating system:
    Microsoft Windows XP
    Build 2600
    Service Pack 2
    Language: English (United States)
    Language for non-Unicode programs: English (United States)
    Locale: English (Canadian)
    Input language: English (United States)
    Nokia PC Suite:
    Version 6.81.13.0
    Language: English
    My USB Driver Version: 9.0.333.0
    Connectivity Cable Drivers (With Nokia PC Suite from online):
    Version 6.81.1.2

    Sorry for double posting ONCE AGAIN but I just realized I'm on the Europe site instead of the Canada/US site...so sorry! But I think problems could be the same.

  • Get info about the current call

    I need a solution (eg ANE) for information about the current call - event of success, of duration, of ending.
    Is that possible?

    thx,
    the example below shows some basic information.
    Display myDisplay = Display.getDisplay(this);
    Displayable dis = myDisplay.getCurrent();
    int high = dis.getHeight();
    int width = dis.getWidth();
    boolean isCol = myDisplay.isColor();       
    int nubCol = myDisplay.numColors();more detailed information about model, aren't available through the standard api, on blackberry's there some restricted apis that provide these device-type and other detailed information...
    for more basic information, just look at the class-methods from display and displayable...
    mmkl

  • N unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    some one can help me please
    i have no idea what i must to do.
    an unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    The Exception Handler gave all the info that you need. No need to print the whole stack trace.
    The exception handler says
    Exception Details: java.lang.IllegalArgumentException
    TABLE1.NAME
    Look in the session bean (assuming that is where your underlying rowset is). Look in the _init() method for statements similar to the following:
    personRowSet.setCommand("SELECT * FROM TRAVEL.PERSON");
    personRowSet.setTableName("PERSON");
    What do you have?

  • Displaying the current users information instead of the value of the person who completed the form in the first place.

    I found this fantatic post regarding querying the user profile service 
    http://blogs.technet.com/b/anneste/archive/2011/11/02/how-to-create-an-infopath-form-to-auto-populate-data-in-sharepoint-2010.aspx?pi47623=2#comments 
    However i have an issue whenever the form is opened again either to view or edit, it displays the current users information
    instead of the value of the person who completed the form in the first place.
    Please help me, I'm turning more grey each minute

    I think it is how the current user information is stored based on your logic.
    You might be quering current value again when loading the form (Form load Rule).
    you have to tweak your logic, after the user submits the form you can set the username to the one who saved it.
    or in form load, write a logic to see if the form was not saved before and then query the username( by using internal field like "formstatue")
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if the reply helps you

  • Information about the default setup for the demo user

    Hi,
    Can anyone guide me the properties which we have to set for the below
    # Information about the default setup for the demo user.
    db.adminUser=system
    db.demoUser=FOD
    db.demoUser.password=fusion
    db.demoUser.tablespace=USERS
    db.demoUser.tempTablespace=TEMP
    And what exactly they represent
    Regards,
    Krishna

    Krishna,
    It's pretty obvious...
    db.adminUser = the username of a dba user in your database
    db.demoUser = the username of the demo user that will get created
    db.demoUser.password = the password that will be used for the demo user
    db.demoUser.tablespace = the default tablespace for the demo user
    db.demoUser.tempTablespace = the default temporary tablespace for the demo user
    You don't have to change any of them.
    John

  • I would like to get certified for the SAP Crystal Reports. So, I would like to get some info about the currently available Certification Exams for Crystal Reports (2011/2013). Also, would greatly appreciate  if you have any suggestions for thi

    Hi,
            I would like to get certified for the SAP Crystal Reports. So, I would like to get some info about the currently available Certification Exams for Crystal Reports (2011/2013). Also, would greatly appreciate  if you have any suggestions for this Certification Exam preparation materials from another 3rd party or from SAP directly .  I would like to prepare or get trained well before taking the exam as I see it costs around $500.
    Thanks in advance for your help in this regard!
    Sincerely,
    J

    Please search here.. Training and Certification Shop for your desired certification or training. Don't forget to set your location.
    Please use some summarized title for your query.

  • I contacted Apple support.UK on 22nd December 2011-12-23. I informed about  the problem was likely to be with the apparatur.However  I tried my father's Ipad2 last night.software is the same my Ipad2's IOS 5.0.1 (9A405), to my surprise it worked properly.

    Hi! My name is Nazım . I live in North Cyprus. I’ve got Apple Ipad 2 and  Iphone 4. My ıpad2 is iPad 2 Wi-Fi + 3G:  Serial number: DQTFFVC1DFJ3., IOS 5.0.1 (9A405), model MC775LL .my itunes is last version. I bought my ipad  from America.
    I’ve recently bought Philips DC390 from  Apple Store in Oxford Street. Althouh Philips dock 1 seemed  to work properly (charged and player). The second dock isnot compatible with my ipad2. It didn’t work(play),It charges though.
    I sended e-mailed to Philips.uk for assistance. They recomend met o reset my  ipad2 to see if this clears any issue, but it does indicate a fault with the unit. It didn’t work either.s(everal time Ireset my Ipad2)
    In addition to this, I contacted Apple support.UK on 22nd December 2011-12-23. I informed about  the problem was likely to be with the apparatur.However  I tried my father’s Ipad2 last night.software is the same my Ipad2’s IOS 5.0.1 (9A405), to my surprise it worked properly. I’ve already reset my ipad2 several times but it didn’work.
    I would be grateful if you could make me some recommendations to sort out the refered my problem.

    Hi Nazim
    This is a user to user group.  There is no-one from Apple here.
    Use this link to contact Apple directly.

  • Setup encountered a problem while validating the state of Active Directory: Could not find information about the local site

    Have an existing ex2010 sp3 organization.
    Could not run ex2013cu1 setup from my newly built 2012 server, getting the error in the subject line.  I used the command line to run the AD preparation steps successfully from my 2012 DC/GC, then tried to run setup again from the new 2012 server and
    still get the same error.  The error itself in the log is pretty useless:
    [05/07/2013 01:19:13.0137] [0] **********************************************
    [05/07/2013 01:19:13.0137] [0] Starting Microsoft Exchange Server 2013 Cumulative Update 1 Setup
    [05/07/2013 01:19:13.0137] [0] **********************************************
    [05/07/2013 01:19:13.0152] [0] Local time zone: (UTC-08:00) Pacific Time (US & Canada).
    [05/07/2013 01:19:13.0152] [0] Operating system version: Microsoft Windows NT 6.2.9200.0.
    [05/07/2013 01:19:13.0152] [0] Setup version: 15.0.620.29.
    [05/07/2013 01:19:13.0152] [0] Logged on user: DOMAIN\ADMINISTRATOR.
    [05/07/2013 01:19:13.0168] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup, wasn't found.
    [05/07/2013 01:19:13.0168] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup, wasn't found.
    [05/07/2013 01:19:13.0215] [0] Command Line Parameter Name='sourcedir', Value='\\h1\f$\junk\installers\server\Exchange\2013cu1'.
    [05/07/2013 01:19:13.0215] [0] Command Line Parameter Name='mode', Value='Install'.
    [05/07/2013 01:19:13.0215] [0] RuntimeAssembly was started with the following command: '/sourcedir:\\SERVER\f$\junk\installers\server\Exchange\2013cu1 /mode:Install'.
    [05/07/2013 01:19:13.0215] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup, wasn't found.
    [05/07/2013 01:19:13.0793] [0] Finished loading screen CheckForUpdatesPage.
    [05/07/2013 01:19:38.0762] [0] Finished loading screen UpdatesDownloadsPage.
    [05/07/2013 01:19:40.0496] [0] Starting file's copying...
    [05/07/2013 01:19:40.0496] [0] Setup copy files from '\\SERVER\f$\junk\installers\server\Exchange\2013cu1\Setup\ServerRoles\Common' to 'C:\Windows\Temp\ExchangeSetup'
    [05/07/2013 01:19:40.0700] [0] Finished loading screen CopyFilesPage.
    [05/07/2013 01:19:40.0840] [0] Disk space required: 1292445007 bytes.
    [05/07/2013 01:19:40.0840] [0] Disk space available: 23767240704 bytes.
    [05/07/2013 01:19:59.0762] [0] File's copying finished.
    [05/07/2013 01:19:59.0965] [0] Finished loading screen InitializingSetupPage.
    [05/07/2013 01:20:02.0934] [0] Setup is choosing the domain controller to use
    [05/07/2013 01:20:09.0325] [0] Setup is choosing a local domain controller...
    [05/07/2013 01:20:11.0794] [0] [ERROR] Setup encountered a problem while validating the state of Active Directory: Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency. 
    See the Exchange setup log for more information on this error.
    [05/07/2013 01:20:11.0794] [0] [ERROR] Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency.
    [05/07/2013 01:20:11.0809] [0] Setup will use the domain controller ''.
    [05/07/2013 01:20:11.0809] [0] Setup will use the global catalog ''.
    [05/07/2013 01:20:11.0825] [0] Exchange configuration container for the organization is 'CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=local'.
    [05/07/2013 01:20:11.0919] [0] Exchange organization container for the organization is 'CN=DOMAIN,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=local'.
    [05/07/2013 01:20:11.0966] [0] Setup will search for an Exchange Server object for the local machine with name 'WEX1'.
    [05/07/2013 01:20:12.0028] [0] No Exchange Server with identity 'WEX1' was found.
    [05/07/2013 01:20:12.0044] [0] The following roles have been unpacked:
    [05/07/2013 01:20:12.0044] [0] The following datacenter roles are unpacked:
    [05/07/2013 01:20:12.0044] [0] The following roles are installed:
    [05/07/2013 01:20:12.0059] [0] The local server does not have any Exchange files installed.
    [05/07/2013 01:20:12.0075] [0] Server Name=WEX1
    [05/07/2013 01:20:12.0137] [0] Setup will use the path '\\SERVER\f$\junk\installers\server\Exchange\2013cu1' for installing Exchange.
    [05/07/2013 01:20:12.0137] [0] The installation mode is set to: 'Install'.
    [05/07/2013 01:20:27.0591] [0] An Exchange organization with name 'DOMAIN' was found in this forest.
    [05/07/2013 01:20:27.0591] [0] Active Directory Initialization status : 'False'.
    [05/07/2013 01:20:27.0591] [0] Schema Update Required Status : 'False'.
    [05/07/2013 01:20:27.0591] [0] Organization Configuration Update Required Status : 'False'.
    [05/07/2013 01:20:27.0591] [0] Domain Configuration Update Required Status : 'False'.
    [05/07/2013 01:20:27.0841] [0] Applying default role selection state
    [05/07/2013 01:20:27.0872] [0] Setup is determining what organization-level operations to perform.
    [05/07/2013 01:20:27.0872] [0] Because the value was specified, setup is setting the argument OrganizationName to the value DOMAIN.
    [05/07/2013 01:20:27.0872] [0] Setup will run from path 'C:\Windows\Temp\ExchangeSetup'.
    [05/07/2013 01:20:27.0888] [0] InstallModeDataHandler has 0 DataHandlers
    [05/07/2013 01:20:27.0888] [0] RootDataHandler has 1 DataHandlers
    [05/07/2013 01:20:27.0903] [0] Setup encountered a problem while validating the state of Active Directory: Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency.  See
    the Exchange setup log for more information on this error.
    [05/07/2013 01:20:27.0935] [0] [ERROR] Setup encountered a problem while validating the state of Active Directory: Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency. 
    See the Exchange setup log for more information on this error.
    [05/07/2013 01:21:04.0154] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup, wasn't found.
    [05/07/2013 01:21:04.0154] [0] End of Setup
    [05/07/2013 01:21:04.0154] [0] **********************************************

    Hi,
    The cause is clearly described in the log:
    [05/07/2013 01:20:11.0794] [0] [ERROR] Setup encountered a problem while validating the state of Active Directory: Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency. 
    See the Exchange setup log for more information on this error.
    [05/07/2013 01:20:11.0794] [0] [ERROR] Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency.
    I'd suggest you check NIC settings and AD configuration.
    Hope it is helpful.
    Fiona Liao
    TechNet Community Support

  • Information about the upcoming version of WLST

    Satya,
    could you please share some information about the new features of the upcoming version of WLST.
    I am asking because currently I am trying very hard to implement Python code to setup our entire WLS 8.1 domains (including custom MBeans with our security providers).
    This is maybe useless because with the new version of WLST everything is already available.
    Will the new version WLST support the following topics?
    - creation / deletion of security realms (including display name)
    - creation / deletion of security providers
    - addition / removal of security providers to / from a security realm
    Against these topics I am currently fighting most :-)
    Does anyone have corresponding Python code to share?
    Cheers,
    Torsten

    Torsten, Attached 4 scripts that add atn, atz, audit and remove a provider.
    This script creates a new security ATN Provider of type com.bea.atn.MyNewAtnProvider
    with object name Security:Name=myrealmMyTestAuthenticator
    # The realm name in your weblogic server
    realmName = 'Security:Name=myrealm'
    realm = ObjectName(realmName)
    # The default Identity asserter in your wls
    atnIdentProvName = 'Security:Name=myrealmDefaultIdentityAsserter'
    atnIdentProv = ObjectName(atnIdentProvName)
    # The default authenticator in your wls
    atnProvName = 'Security:Name=myrealmDefaultAuthenticator'
    atnProv = ObjectName(atnProvName)
    # The new provider that you would like to create
    newAtnName = 'Security:Name=myrealmMyTestAuthenticator'
    newAtnProv = ObjectName(atnTestProvName)
    # create the provider
    create(newAtnName, 'com.bea.atn.MyNewAtnProvider')
    # Now add your newly created authenticator to the default realm
    mbs.setAttribute(realm, Attribute('AuthenticationProviders', array([atnProv,atnIdentProv,newAtnProv], ObjectName)))
    # set the realm pointer back on the newly created provider
    mbs.setAttribute(newAtnProv, Attribute('Realm', realm))
    # change the controlFlag's
    mbs.setAttribute(atnProv, Attribute('ControlFlag', 'OPTIONAL'))
    mbs.setAttribute(newAtnProv, Attribute('ControlFlag', 'REQUIRED'))
    This script creates a new Authorizer of type com.bea.atz.MyNewAtzProvider
    with object name Security:Name=myrealmMyAtzAuthorizer' and its to the default realm
    # this is the default security realm
    realmName = 'Security:Name=myrealm'
    realm = ObjectName(realmName)
    # This is the default authorizer
    atzProvName = 'Security:Name=myrealmDefaultAuthorizer'
    atzProv = ObjectName(atzProvName)
    # New atz provider that you would like to create
    myAtzProvName = 'Security:Name=myrealmMyAtzAuthorizer'
    atzProv = ObjectName(myAtzProvName)
    # create your new authorizer of type com.bea.atz.MyNewAtzProvider
    create(myAtzProvName, 'com.bea.atz.MyNewAtzProvider')
    # Add the newly created authorizer to the realm
    mbs.setAttribute(realm, Attribute('Authorizers', array([atzProv,atzProv], ObjectName)))
    # set the authorizer on the realm
    mbs.setAttribute(atzProv, Attribute('Realm', realm))
    This script creates a default auditor and adds it to the realm
    audProvName = 'Security:Name=myrealmDefaultAuditor'
    audProv = ObjectName(audProvName)
    create(audProvName,'weblogic.security.providers.audit.DefaultAuditor')
    mbs.setAttribute(realm, Attribute('Auditors', array([audProv], ObjectName)))
    mbs.setAttribute(audProv, Attribute('Realm', realm))
    This script removes the deference to the Atn provider that was added and deletes the
    atn provider
    # The realm name in your weblogic server
    realmName = 'Security:Name=myrealm'
    realm = ObjectName(realmName)
    # The default Identity asserter in your wls
    atnIdentProvName = 'Security:Name=myrealmDefaultIdentityAsserter'
    atnIdentProv = ObjectName(atnIdentProvName)
    # The default authenticator in your wls
    atnProvName = 'Security:Name=myrealmDefaultAuthenticator'
    atnProv = ObjectName(atnProvName)
    delAtnName = 'Security:Name=myrealmMyTestAuthenticator'
    delAtnProv = ObjectName(atnTestProvName)
    # This will remove the deference of delAtnProv from the realm
    mbs.setAttribute(realm, Attribute('AuthenticationProviders', array([atnProv,atnIdentProv], ObjectName)))
    delete( delAtnName, 'com.bea.atn.MyNewAtnProvider' )
    Thanks,
    -satya
    Satya,
    I will try to put together a script that can dothis
    and post it.That would be great.
    Thanx.
    Torsten

  • Custom Search Results web part: show only sites wherein the current user has access

    Hi,
    I'm trying to create a custom Search Box and Search Results web part in one of my web application. The search result should show only sites wherein the current user only has an access. Do you have an idea how to implement this? Thanks. :)
    Regards,
    Napster

    Hi Napster,
    From my experience, we can only search the result which we have view permission at least.
    Please provide more information about your requirement if there is misunderstanding.
    More information about search result web part:
    http://technet.microsoft.com/en-in/library/gg549987(v=office.15).aspx
    Regards,
    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] .
    Rebecca Tu
    TechNet Community Support

  • HOW TO GET INFORMATION ABOUT THE CLIENT MACHINE AT DATABASE LEVEL

    HOW TO GET INFORMATION ABOUT THE CLIENT MACHINE AT DATABASE LEVEL USING 10g Database and 10g Application Server
    we have developed an application using oracle forms 10g with
    oracle database 10g and Application server 10g
    Application uses a single Oracle User name to connect to database
    where as at Application level there are different users (these are not database users)
    Now how can we get the information about the user/his machine etc. at database level. earlier in 6i/8i we use to get by using
    USERENV('TERMINAL')
    we had written a triggers on tables on Insert/Update where we used to update a database field Last user terminal with USERENV('TERMINAL')
    but not this information is comming to be the machine name of application server where as we wish this to be the machine name of Client. Any Way outs
    thanks
    Chaand Kackria

    hi, you can use the sys_context function, like this:
    select sys_context('userenv','current_user'),
         sys_context('userenv','os_user'),
         sys_context('userenv','host'),
         sys_context('userenv','ip_address'),
         sys_context('userenv','instance'),
         sys_context('userenv','sessionid'),
         sys_context('userenv','terminal')
    from dual;
    Is this what you 're looking for?

  • Do you have any more information about the Lightroom Mobile for tablet?  [was:Information]

    Hey just doing a check. In. Do you have any more information about the Lightroom app for tablet?  Like when it is coming out, what features will it have?  Because I can't Waite. Especially for editing a raw file on a tablet. Excited. 
    I do have a  Few questions. 1. Will the app have a library mode that allows the photographer to display the raw files  on the app like how photo shop touch does. Example. When your  import a photo from the iPad it shows up in the photo app that Apple makes. But when you take that photo into photo shop and save it as a psdx file, the project or photo does not show up in the original photo app by apple.
    2. Will the app use the smart previews when you import a raw file on to the iPad the same as you do with a computer? 
    3. Do you have to Waite to go home to edit a raw file or can you edit on the tablet once you import the photo from camera to iPad? Instead of going home import to computer into Lightroom 5, then to adobe cloud, then to iPad.
    4. Will the app display catalog, book, etc modes like Lightroom 5 has?

    At this stage, we don't know any more about Lightroom Mobile than Adobe revealed in Sep 2013
    http://laurashoe.com/2013/09/09/on-the-adobe-horizon-lightroom-mobile/
    Adobe will reveal more when they're good and ready.

  • How to add the current user to a people picker using javascript coding in document library

    Hi Everyone,
    This is my scenario,
    I have a document library,for this if any user uploads a document,there we have three content types(Ex:content1,content2,content3)
    if the uploaded user is from content 1(here we have four columns name,assigned to ,status,published to) after uploading the document the document has to be updated.so when the document is updated by the user then automatically the published filed people
    picker has to be filled up with the current user name this is done by using java script object model programming.
    i am stuck with this can anyone help me..............
    thanks in advance
    Ramu

    Hi,
    I understand that you want to set a people picker field value automatically to current user. You can use these ECMA scripts on your EditForm.aspx page. Edit the page in SharePoint designer and add the code before a </asp:Content> tag.
     <script type="text/javascript">
    var context = null;
     var web = null;
     var currentUser = null;
    ExecuteOrDelayUntilScriptLoaded(GetUserLoginName, "sp.js");
    function GetUserLoginName() {
    context = new SP.ClientContext.get_current();
     web = context.get_web();
     this._currentUser = web.get_currentUser();
     context.load(this._currentUser);
     context.executeQueryAsync(Function.createDelegate(this, this.onSuccessMethod),
    Function.createDelegate(this, this.onFailureMethod));
     function onSuccessMethod(sender, args) {
     var today = new Date();
     alert('Name:' + this._currentUser.get_title() + '\n Login:' + this._currentUser.get_loginName()); document.getElementById('ctl00_m_g_9b4b3950_80d8_4e6e_b2fa_241b727d83d4_ctl00_ctl02_ctl00_ctl02_ctl00_ctl00_ctl04_ctl00_ctl00_ctl04_ctl00_ctl00_UserField_upLevelDiv').innerHTML=this._currentUser.get_title();//you
    need to change the ID here to you people picker field ID. You can get the id for this field with the help of IE developer tool.
     function onFaiureMethod(sender, args) {
     alert('request failed' + args.get_message() + '\n' + args.get_stackTrace());
     </script>
    For more information, please refer to this site:
    Get current user’s LoginName Ecmascript Sharepoint 2010:
    http://www.learningsharepoint.com/2011/05/18/get-current-users-loginname-ecmascript-sharepoint-2010/
    Thanks,
    Entan Ming
    Entan Ming
    TechNet Community Support

Maybe you are looking for

  • JTable with custom column model and table model not showing table header

    Hello, I am creating a JTable with a custom table model and a custom column model. However the table header is not being displayed (yes, it is in a JScrollPane). I've shrunk the problem down into a single compileable example: Thanks for your help. im

  • Automatic import of cd drive

    hi good day , I wonder how do I disable the automatic startup lightroom in cd drive

  • Report on Service Entry Sheet

    Hii.. do we have any report which will give us data like qty entered in 1st Entry sheet, 2nd , 3rd ...... cumulative and remaining. Regards,

  • Where did lion go?

    Ive downloaded and installed Lion. I wanted to burn it to a disk but it seems to be gone now and with no option to download. Where did it go?

  • Truncate target table

    Hi All, I need to truncate the target table before inserting records into it. Can you please where should I set this option in OWB mappings, so that it can be done from within OWB. Rgds Arnab