How to identify what user?


Hello world

I use Jdeveloper 11.1.2.3.0.
I have a dashboard with many pages with the login page.
How will I know which user connected?

Y at - it features about this?

Thank you.

Using Groovy

adf.context.securityContext.getUserPrincipal () .getName)

or

adf.context.securityContext.getUserName)

Java code

get the username in the Java code, also by using the following code.

  ADFContext adfCtx = ADFContext.getCurrent(); SecurityContext secCntx = adfCtx.getSecurityContext(); String user = secCntx.getUserPrincipal().getName(); String _user = secCntx.getUserName();

3-expression Lnagugae


You can link ADF Faces component graphic with the following EL to get connected user name.

#{securityContext.userName}

Tags: Java

Similar Questions

  • How can show what user name run from data base users in report page

    How can show what user name of user login to report 10g

    Another qusetion I create report empolyee 012343 identification number but 12343 zehro report shows not how can set it

    someone guide me

    to define the column as a number or character type?

    If it's the number, you can try a format mask with a '099999' 0. I think so.

    or you can select it as to_char (...)

  • How to identify what role user is associated?

    Oracle 11.0.1.7:

    How can I identify what role is associated with a user?

    Also how to recognize the privilege for a given role. For example if SELECT, INSERT, DELETE has been granted for a table to a role which dictionary table watching?

    I looked at USER_TAB_PRIVS.

    Check this box:

    http://www.adp-GmbH.ch/ora/Misc/recursively_list_privilege.html

    HTH
    -André

  • How to identify what trace file is your track of backup controlfile in udump

    I have a 10.2.0.3 database under unix.
    I want to configure a job to run a script every night to save the controlfile as text.
    as "alter database backup controlfile to trace."
    How my script can identify what trace file is the only one created just for backup controlfile and copy the file on a backup drive?

    Thank you very much!

    I thought that there

    change controlfile backup of database to trace in the "absolute path to a file where you want that control to plain text file";

    e.g. on Windows...

    ALTER database backup controlfile to trace as *'c:\temp\create_ORCL_control.sql'*.

    This way, you will know where your work will backup controlfile to trace

  • How to identify what eBooks associated with which user purchases/license

    I'm following the case:

    A user has purchased an eBook and then wanted the cover in place. We need to suspend the licence which was created when the purchase took place, however, with the current system of distribution of the eBook, we cannot find any connection between what the user (which is in our SQL database) and licenses for this user that I can work with thanks the ACS4 Adobe system.

    We must be able to connect the two together, so that we can suspend licenses as requires it.

    Thank you!

    There are Web APIs such as ManageFulfillmentData, where you can search by distributor/transactionID for the user/resource id which you can then use ManageLicenseData to get the current license.  Documentation on the APIs are in the technical reference information.

    BTW, the ACS4 database is not encrypted, but elements based UUID are binary encoded, and do a SELECT with a HEX (column) you will get most of the way.

  • How to identify what items appear in the search

    I have Robohelp HTML 7 and I'm trying to find a way to tag topics I want will appear when a user searches for the project. I have a few topics I've used as popups and do not want them to appear in my search. In its current form, I don't know how to eliminate these selected topics or if this is even possible. Any help on this matter would be most appreciated.

    Thank you
    Paula

    See previews on my site. There is a link to a blog Adobe describing how to exclude topics.

  • I have windows vista... c drive is full... can identify files or programs that got about 50% of the capacity of the disk based advice on how to identify what capacity statement... have 100 GB hard drive

    have run mechanical disk cleanup, registry...

    Saturday, December 18, 2010, 05:40 + 0000, phr10 wrote:
     
    > have run mechanical disk cleanup, registry...
     
     
     
    Richard Harper's response for you to see, but also, note the following:
     
    I * strongly * recommend Registry Mechanic and register all the
    cleaning products.
     
    Registry cleaning programs are * all * snake oil. Cleaning of the
    registration is not necessary and is dangerous. Let alone register and
    do not use any registry cleaner. Despite what many people think, and
    What software record cleaning suppliers are trying to convince you,
    have unused registry entries is not really make you hurt.
     
    The risk of a serious problem caused by a registry cleaner by mistake
    delete an entry you need is much greater than any potential benefit
    It can have.
     
     
     
    and also
     
    Let me stress that neither me nor anyone else who warns the
    use of registry cleaners never said that they always cause
    problems. If they have always caused problems, they would disappear from
    the market almost immediately. Many people have used a registry
    cleaner and never had a problem with it.
     
    The problem with a registry cleaner is that it carries with it
    important * risk * to have a problem. And since there is no
    benefits of using a registry cleaner, running that risk is a very bad
    good deal.
     
     

    Ken Blake (MS-MVP)

  • How to determine what security policy to be used in the HTTPClient.java?

    Hi team,

    I tried invoke Fusion Web Service, not always successful, got a few entries and still ongoing.

    The first question is to know how to identify the security poicy should be used in the resulting WSDL webService HTTPClient?

    Ex :
    
          //setup security feature with OWSM policy
          SecurityPolicyFeature[] securityFeature =        new SecurityPolicyFeature[] { new  SecurityPolicyFeature("oracle/wss_username_token_client_policy") };
    

    In the WSDL XML, how to identify, what strategy to use when calling webService

    < ExactlyOne >
    < wsp >

    Plese provide your inputs.

    Reg

    Sridhar

    What is the error that you are experiencing? Security policy is in the WSDL file and documentation for GOSA provides details on the assertion. Generally, I think that you would use "oracle/wss_username_token_over_ssl_client_policy", which is the easiest to use. Also usually the easiest way to set up a call must first make the call using SOAP UI for you ensure that your envelope is correct and then to implement in any client that you need. For more details on how to make a SOAP UI call refer to this blog post.

    --

    Jani Rautiainen

    Relationship with the developers of Applications in fusion

    https://blogs.Oracle.com/fadevrel/

  • How to identify the ASM DiskGroup attached to which disks?

    Hi guys,.

    In RAC 11 GR 2, how to identify which ASM Diskgroup is attached to which disks... (OS is RHEL 5.4).

    We could list ASM starts by,
    *#oracleasm listdisks * but this command does not display the disks assigned to ASM DiskGroup.

    Even for check location of OCR and voting disks only show Diskgroup name and not the actual discs.
    $ocrcheck
    $crsctl query css votedisk


    (as in gr 10, 2 RAC, we entered /etc/rules.d/udev/60-raw-rules raw file mapping of the OCR, voting disk and other ASM Diskgroup)


    Please help me, as long as the customer place, I could see LUN as assigned to the server and get is not an exact idea whose records have been used for OCR and voting disk DATA Diskgroup.


    Thank you
    Manish

    And for this, you can use oracleasm querydisk. Using that you can identify which device marked for asm or not. for example you can see below the example.

    [oracle@localhost init.d]$ sqlplus "/as sysdba"
    
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Jun 3 11:52:12 2010
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> select path from v$asm_disk;
    
    PATH
    --------------------------------------------------------------------------------
    /dev/oracleasm/disks/VOL2
    /dev/oracleasm/disks/VOL1
    
    SQL> exit;
    
    [oracle@localhost init.d]$ su
    Password:
    [root@localhost init.d]# /sbin/fdisk -l
    
    Disk /dev/sda: 80.0 GB, 80000000000 bytes
    255 heads, 63 sectors/track, 9726 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1        1305    10482381   83  Linux
    /dev/sda2            1306        9401    65031120   83  Linux
    /dev/sda3            9402        9662     2096482+  82  Linux swap / Solaris
    /dev/sda4            9663        9726      514080    5  Extended
    /dev/sda5            9663        9726      514048+  83  Linux
    
    Disk /dev/sdb: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1               1        4859    39029886   83  Linux
    /dev/sdb2            4860        9729    39118275   83  Linux
    [root@localhost init.d]# ./oracleasm querydisk /dev/sdb1
    Device "/dev/sdb1" is marked an ASM disk with the label "VOL1"
    [root@localhost init.d]# ./oracleasm querydisk /dev/sdb2
    Device "/dev/sdb2" is marked an ASM disk with the label "VOL2"
    [root@localhost init.d]# ./oracleasm querydisk /dev/sda1
    Device "/dev/sda1" is not marked as an ASM disk
    [root@localhost init.d]#
    

    Also in windows:

    C:\Documents and Settings\comp>asmtool -list
    NTFS                             \Device\Harddisk0\Partition1           140655M
    ORCLDISKDATA1                    \Device\Harddisk0\Partition2             4102M
    ORCLDISKDATA2                    \Device\Harddisk0\Partition3             4102M
    NTFS                             \Device\Harddisk0\Partition4           152617M
    
    C:\Documents and Settings\comp>
    

    answered by Alex.
    Reference:-How to identify what disc rawdevice is named as VOL1 in ASM OS level

    Happy new year.
    Kind regards

  • How can I identify what software emulation is running

    trying to play a game and a messege appears statinh 'Emulation software conflict '. The manufacter game suggested I disable emulation software. their explanation of what and where led me in circles with no software found. How can I identify what software emulation is rinning on my PC.  Windows vista 32... SP2... GeForce 7500

    Hello

    Emulation allows you to run a program designed for one system on another system.

    Come back with the game creator for more information on what you need to run
    the game. Check with their forums (if any). Check also in other main game forums
    help from others. Do not forget to mention the OS you are using, (name game info
    and the platform, it has been designed to work) and your system.

    Answers - Game Forum - will also ask for other game forums.
    http://social.answers.Microsoft.com/forums/en-us/vistagaming/threads

    Here some forums game for those who have a hardware ATI or Nvidia - users it can
    probably direct you on other forums good game.

    AMD/ATI game forums
    http://forums.AMD.com/game/categories.cfm?CATID=260&forumid=11

    NVIDIA forums/communities
    http://www.nvidia.com/object/nvidia_zones.html

    --------------------------------

    Here are some game emulation sites that might help:

    Emulators Inc..
    http://www.emulators.com/download.htm

    The emulator zone
    http://www.emulator-zone.com/

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • What is a user of the NETWORK and how to disable this user by CMD?

    What is a user of the NETWORK and how to disable this user by CMD?

    I found a user named ASPNET on my computer. For security reasons, I need to disable this user.

    There are hundreds of computers in my company.

    How can I deactivate this user? By CMD or domain controller?

    In addition, if I disable the ASPNET user, what affects you on Windows & and Windows XP?

    Thank you!

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.technet.Microsoft.com/forums/en-us/home

    http://social.msdn.Microsoft.com/forums/en-us/home

  • How can I identify what version of Oracle is an instance?

    How can I identify what version of Oracle is an instance?

    Hello

    Use:

    SELECT *.

    SINCE the release of v$.

    It will produce output like:

    BANNER
    ----------------------------------------------------------------------

    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE Production 11.2.0.2.0
    AMT for 32-bit Windows: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production

    The Group of numbers by the end of the 1st line (11.2.0.2.0 above) is the most important part.

  • How to identify the Local user in the BI Publisher?

    Hi Experts,

    Can we identify the language of the User Login in the editor of BI 11 g?

    As we identify the user at the time of the report(:xdo_user_name)

    Please mark helpful or appropriate so that others may find useful.

  • How to grant a user (me) the DBA role?

    Hi all.

    I was wondering how you connect to the identifier of the database administrator.
    I've done there is a workspace on apex.oracle.com, and I thought as I did, I would have full access. However, I can't get the identifier of the database administrator. With the identifier of the database administrator, I mean the next screen: connect you to www.apex.oracle.com, go to the workshop of SQL, click utilities, and then click the database. What I see is a screen wonder a user name and password.

    All the info I found on the internet always refers to the local host APEX, whereas I only use the online version...

    I tried to use admin as username and admin as the password did not work. Even my own credentials do not work. I don't know how to create a user who is granted the DBA role. As far as I know, APEX I am registered as the APEX_PUBLIC_USER. How can I change this to my own account and grant me the role DBA?

    All I want is make a backup of the complete basis set, and be able to take a peek. Be able to backup is the most important part for me. I don't want an app, but really all of the backup database: all tables and their columns, with all of their corresponding lines filled with data. Everything.

    So please, if anyone knows how to give me the DBA role, tell. I use APEX 4.1.1.00.23, on www.apex.oracle.com.

    Thank you.

    You will never access DBA on apex.oracle.com. If you want to export, you will need to use the feature 'generate the DDL', and for your data, you can use the data workshop later. You can export your data from the table to a CSV (one for each table), and then import these data into your own database using a feature of loading data in TOAD sqldeveloper (or APEX).

  • How to manage what programs open when I turn on my Mac

    How to manage what programs open when I turn on my Mac

    System Preferences > users and groups > Login. Unlock the padlock (bottom left), select the item you want to remove, and then click the sign less.

Maybe you are looking for