Get the information of the user to the users table

Basically, what I'm trying to do is a helpdesk application.

When a user trys to submit a ticket. It will prompt you with a user authentication screen, this authentication is based on a DATABASE of the USERS (which has all the details about the users, including the password). Once the authentication of the user is posted it will be redirected to the form of recording the show. This form was username, userid, useremail text field. All these form of text fields be pre-filled with the detaiils user appropriate to the user who is logged.

Please can someone help me how to do it.

Thank you
Hary

Hello

Apex built in the variable to contain the username APP_USER
http://download.Oracle.com/docs/CD/E14373_01/AppDev.32/e11838/concept.htm#sthref214

Application of calculation should be something like

SELECT user_id FROM my_user_table WHERE user_name = :APP_USER

Replace the column and table names accordingly (user_id, my_user_table and user_name)

Kind regards
Jari

Tags: Database

Similar Questions

  • Get the only table name in model executing the revese engineer but columns do not come

    Get the only table name in model executing the revese engineer but columns do not come. I used the standard procedure.  Please let me know why I am not getting column in my model.

    I have attached the screen shot for the same thing.

    This is a table or a synonym? In the case of synonym or try to add the property as it appears below thread.

    Reverse engineering a synonym in ODI 11 G.

    Or maybe go with personal setbacks.

  • How to get the underlying tables

    Hi all

    EBS R12.2

    How can I get the underlying tables of the following form?

    Capture.PNG

    Thank you very much

    Jen

    Hello

    Go to help-> review-> properties-> point.

    That's how you get the base table (FND_USER_RESP_GROUPS_INDIRECT):

    Kind regards

    Bashar

  • I get threatening and abusive emails to a windows live user, how can I get more information about this user to report.

    e-mails in danger

    I get threatening and abusive emails to a windows live user, how can I get more information about this user to report.

    The information is provided in the source of the message. In OE, Windows Mail and WLMail, Ctrl + F3 reveals this.

  • Get the master table field value

    Hi all.

    I have a form with 2 tables of ADF (A and B), and they have a master relationship / detail.

    I need to put the property readonly on B (detail) table based on a (status) value in the current table (master) A line. I can't find "#{row.bindings.Status.inputValue}" expression editor for the table is placed on B.

    So, how can I get the value of the status field on the current line of the table to use in a table expression B?

    Sorry if this is obvious, but I'm new to ADF.

    Thanks in advance.

    You should not use #{row.bindings.Status.inputValue} in table 2 row var is local to table 1.
    Instead add a binding for the State attribute (according to table 1) in the pageDef and use it as an EL in table 2 # {bindings. Status.inputValue}... it will represent the currently selected line in table1.

  • To get the last table by the user access time

    Hello

    We plan to remove unwanted objects in the database.

    Our goal is to monitor the tables, their frequency of access, users who have access to details of paintings.

    We can enable the AUDIT TRAIL Paramaeter. But this is not recommended because it will affect the performance of the database in a real environment.

    We can question session$ v. But it will ensure that the current data. It will not provide data when a session is closed.

    How can we get access to the frequency of the tables, their time of last access etc.

    Please could you suggest on this?

    user11343182 wrote:
    We can enable the AUDIT TRAIL Paramaeter. But this is not recommended because it will affect the performance of the database in a real environment.

    This will certainly have an impact, but it might be very light, there are also beautiful grain audit, but basically, it's the same thing, must audit objects.
    And about the degradation in performance, you must choose to live with your objects 'dead' or temporarily reduce the performance. It is perhaps interesting for all active objects is.

    Nicolas.

  • How to get the a table check constraint.

    I don't see the function to get forced check.
    I try the table.getCheckConstraints () function
    but I return nothing.

    Hello

    table.getCheckConstraints () will return to check the constraints defined at the Table level in the Data Modeler.

    You can also call column.getCheck (). This will return a check constraint defined on a column object in the Data Modeler.

    David

  • get the multiselect table data

    Hello

    I use ADF 11g (11.1.1.1.0 Jdeveloper) and EJB to access data from the database.
    I have a table with multiselect true. The code for the bean of support to return the selected lines is:

    Table RicheTableau = this.getT1 ();
    Iterator itr = table.getSelectedRowKeys () .iterator ();
    While {(itr.hasNext ())}
    The list l = (List) itr.next ();
    Key = (Key) l.get (0);
    System.out.println (Key.GetAttribute (0));
    }

    The problem is that the inner loop is executed once when I have more selected rows (last row is printed).
    Any help on this?

    Published by: Bostjan Lipnikar on 29.10.2009 06:31

    Hi warda,.

    Your code is fine looking for me. Just delete the property "selectedRowKeys" of the table and see (make sure you set rowSelection multiple ownership).

    Go through the following by Andrejus blog if you stuck anywhere:
    http://andrejusb.blogspot.com/2007/02/multi-selection-feature-and-ADF-faces.html

    Jean Lou

    Published by: Marc Israel on October 29, 2009 05:33

  • Unable to get the smaller table column

    My page is at http://www.shopburbank.org/merchantList.php The Web site column is too wide, and I can't understand what the problem is. The mysql field is defined as varchar 255 and I went through all the entries to that there is no space after the Web site. The fields that are not met are Null.

    Thank you

    You want to give people the ability to change your data? By providing this link, I could easily click on the "Edit" link and change your data. And now that I know the link, I can copy it and go to the link, you can change the name of the detail page too.

    If you don't want people modify these data, you should probably take this link off the page until you can fix.

    You control the table using css. You can do this, but it seems that the page is larger than the actual size of the window when I see if something tells me you have a problem with that. For this reason, each column will expand to fit the width of the page. It doesn't look like it not is in the data.

  • How to get the row of Table data in the pop up window

    Hello world

    I'm working on Jdeveloper 11.1.1.4 and I got a requirement when there is a delete as a column in a Table in the ADF. When the user clicks on delete button that I need to display a confirmation message "You want to remove from the Table" OK CANCEL.

    If the user clicks the OK button, then I need to update the value of last_update_by to the one who connects and then deletes the line from the user interface but at the level of the table of database, that line will be there.

    Do I want to get the line given in the confirmation message pop-up and to add rowdata.setAttribute(last_update_by,'') in the class of the action of the OK button.

    I could get the rowdata table in class action OK button but when I do rowdata.setAttribute(last_update_by,'') that class action it gives me null pointer exception.

    Can someone help me with valuable suggestions?

    Thank you

    You may need to check {: identifier of the thread = 2223878} thread

  • How to get the date and time that a procedure/function has been modified for the last time?

    Hi all

    In Oracle Developer Tools for Visual Studio 2005 can I highlight a function, or a procedure and in the Properties window, it shows me the func/proc has been changed for the last time, and also when it was created

    Where can I get this information?

    See you soon
    CJ

    table object last_ddl_time

  • Need some tips to merge the two table-manipulation functions

    Hi guys!

    Thanks to Johnsold, Helmut O'Brian and Jcarmody, who helped me through a string function complicated (for me, the noob of LV), I got away with my project and I'm very close to its end.

    As I've described it here I wanted to explore an array of words combined with-, i.e. C1 - C10. Help, when I arrived, I was able to do. I also learned a few things and was able to do the following:

    Original array: new table:

    R1                                                       R1

    R2                                                       R2

    C1-C3                                                  C1

    K1                                                       C2

    C3

    K1

    I have this:

    Original array: new table:

    R1                                                       R1

    R2,R4,R7                                             R2

    C1                                                       R4

    K1                                                       R7

    C1

    K1

    I was also able to combine these two functions

    Now, back to my problem.

    Until now, it was just a 1 d array that I worked with. In fact, it's a 2D array, I read a. CSV file:

    As you can see there are a few places where things is combined with either - or by commas. I need to widen the first column as described above and as resolved in the thread I mentioned. Fact! No problem. I extracted the first column in table 1 d. Then expand it. Now, I need to replace in the original array and also expand all.

    It should then look like this:

    Then I only need to copy the position of the R6 line and paste it in the empty fields:

    I enclose below two screws. Start by opening the main.vi. Then copy.vi. I tried to describe the problem here too. You can see what I've accomplished and what is missing.

    Tasks:

    1. replace the column expanded in the original array and expand all.

    2 copy the needed lines.

    In the main.vi, I do the 1 d expansion, but I have the problem with the expansion of table 2D. In copy.vi, I managed to copy the lines. If this part is done.

    Basically, I need some advice on enlargement that I do and how do I get the 2D table also expanded. Because I have not much experience, I feel more comfortable working with 1 d arrays. But I can't seem to get any further with this 1 d-> expansion 2D.

    I also really can't seem to find a smart way to implement my function of copy-line-in the main.vi.

    P.S the joint screws are manufactured in LV2010.

    Fortunately, I can attend some courses of basic home OR here in Norway, but so far, I'm still learning and I think that sometimes, I try to do things that are way out of my League

    I don't know what I did but it works now

    Thanks for the help, same!

    You are even welcome!

    Have attached the file if anyone wants to see what I did.

  • Returns a copy of the hash table

    I have problems by returning a copy of a hash that is normally stored in the persistent store table.

    final class SyncCentres {
        private static Hashtable syncCentres;
        private static PersistentObject persist;
        private static final long ID=0xdfeab99e040a223aL;
    
        static{
            persist=PersistentStore.getPersistentObject(ID);
            syncCentres=(Hashtable)persist.getContents();
            synchronized(persist){
                if(syncCentres==null){
                    syncCentres=new Hashtable(4);
                    persist.setContents(syncCentres);
                    persist.commit();
                }
            }
        }
    
        static Hashtable getSyncCentres(){
            return syncCentres;
        }
    
    } // Class
    

    When I get the hash table in another class by using the static method.

    Hashtable hash=SyncCentres.getSyncCentres();
    

    It turns out that it is not a copy. Change the hash variable will edit the SyncCentres class as well. Is this normal? How can I get a copy of it?

    Java, copy and pass the reference by value, not the object.
    See
    http://www.Yoda.arachsys.com/Java/passing.html
    or
    http://www.JavaWorld.com/JavaWorld/javaqa/2000-05/03-QA-0526-pass.html
    If you want a true copy of the hash table you need to clone and each of its objects.
    You can also copy all objects to a new hash table, but these are always references to the same objects as in the first hash table.

  • I can't seem to connect to my mail, I tried all the user names I can think. where can I get the correct information?

    I can't seem to connect to my mail, I tried all the user names I can think.  where can I get the correct information?

    Sounds like Hotmail you use. Yes?

    If so, repost to Forums Hotmail - Hotmail Sign In IssuesThreads section:

    http://windowslivehelp.com/forums.aspx?ForumID=b782602b-8e7c-40D8-a66b-b44824497a17

  • How to get more information about the user using SecurityContext ADF?

    Hello.

    In my application I have a table use:

    CREATE TABLE ("ADM_USERS"

    ACTIVATE THE 'ID' NUMBER(*,0) NOT NULL,

    ACTIVATE THE 'U_NAME' VARCHAR2 (30 BYTE) NOT NULL,

    ACTIVATE THE "U_PASS" VARCHAR2 (255 BYTE) NOT NULL,

    VARCHAR2 (30 BYTE) "NAME."

    VARCHAR2 (30 BYTE) 'NAME')

    I configured the WebLogic environment using the the "reading- SQL only the authentication provider ' and then I configured ADF Security as ADF authentication -> Forms -authentication.

    I connect the user using the method of ""doLogin " and all that working properly. "


    public String doLogin() {}

    String _username =;

    Byte [] pw = _password.getBytes ();

    FacesContext fctx = FacesContext.getCurrentInstance ();

    HttpServletRequest request = (HttpServletRequest) () .getRequest () fctx.getExternalContext;

    try {}

    Topic topic = Authentication.login (new URLCallbackHandler (UN, pw));

    ServletAuthentication.runAs (object, request);

    String loginUrl = "/ adfAuthentication?success_url=/faces/Registry.jsf";

    HttpServletResponse response = (HttpServletResponse) fctx.getExternalContext (m:System.NET.FtpWebRequest.GetResponse ());

    sendForward (request, response, loginUrl);

    } catch (FailedLoginException fle) {}

    FacesMessage msg = new FacesMessage (FacesMessage.SEVERITY_ERROR, "Incorrect name or password","Incorrect name or password" "");

    fctx.addMessage (null, msg);

    } catch {} (the LoginException)

    reportUnexpectedLoginError ("LoginException", the);

    }

    Returns a null value.

    }

    securityContext.userName returns the value of the 'U_NAME '.

    How to make more information on the user connected such as NAME, ID, first NAME?


    And the second question:

    How to store the value of the field 'ID' in table 'ADM_USERS' in any table with the 'IDUSER' with objects of entity created in application scope?


    Concerning

    Darek


    securityContext.userName returns the value of the 'U_NAME '.
    How can I get more information about the user logged as NAME, first NAME, ID?

    You can not.

    You need to query DB.

    How to store the value of the field 'ID' in table 'ADM_USERS' in any table with the 'IDUSER' with objects of entity created in application scope?

    Record this value in UserData structure so it will be available in the model. http://andrejusb.blogspot.com/2012/05/solution-for-sharing-global-user-data.html

    Then use as default expression for your objects of entity attributes (something like: adf.userSession.userData.yourUserDataVar).

    Dario

  • How can I use the REST API to get general information of the user (Signature fields)?

    I'm trying to use the API to get the signature of all the users of the system fields. I can see this information in the web browser if I go to settings-> user management-> and selecting the user.

    I would like to know if there is a way to get the information General information (Signature fields) using the API.

    Thank you!

    Hi Sai,

    The REST API exposes the user records (see the following document); However, signature fields are not included. We need to work on this addition to the API (in a later version), but the option is currently not available.

    Please let me know if you have any questions or would like more information.

    Thank you

    Fred

Maybe you are looking for

  • IMessage and Skype without Iphone

    Can watch it get and send messages (imessage and Skype) when connected to a router already matched, but with the iphone is off?

  • Identity theft

    Someone here claimed to have seen that my Visa card number only by means of posting on the forum so let this be a warning to everyone, DO NOT USE your information in logon of Apple because they are not secure.

  • Can't boot from USB

    Hi all I followed the instructions on the site of Ubuntu to create a bootable USB key, but I can't make it work. All I get is the boot prompt "boot:" if I press on enter it says "not found kernel". Do I have to have the atom chip intel to use this? I

  • IE7 keeps loading on Qosmio G30

    Hi, I hope someone can help.I have a Qosimio G30 a little over a year. I use Firefox as my browser but * IE7 keeps loading *.as much as 1 or 2 times a second, sometimes slower - I currently have 14 tabs in my bar 'start' but I got up to 37.I'm too sc

  • My PSP Memory Stick does not work!

    After the release of back in my PSP version 6.60 I took out the memory stick, now I put it and it does not read! my PC detects the PSp but not the Memory Stick... Formatting is not an option either, because I can not lose what I have out there! But e