View the login user name and time on an update - APEX

Hello

I'm new at APEX, my requirement goes this way, I have an XYZ table and for that I generated a report with multiple columns, and for that I have a form to change the /update values on to a column particlular in this table, where in the form, I got a pop-up for this column (ABC) (ABC) so that if clicked what a choice list dispalyed on the selection which it gets reflected in the form and when I Click on apply button on the form changes. In the report the values relavent get changes according to the database, that's fine, but I have 2 more (columns edited_name, edited_time) where change on that (ABC) I need the name of the current user and time to be displayed in the report.

Well the user name here is the user_name associated to the my application (Apps reports) connection not the APEX worksapce username are used to form. Because the same application you will be used across many people and updations made on this column at the same time. It should go down with it.
At the end in the report, based on the name of connection (application), I need to display the edited_name & edited_time. Can someone help me please.

Thank you
NAV.

A trigger is the right way to do it and your trigger seems to be ok. It must be installed on your table, which means on the database.

What problem did you experience?

the APP_USER is situated in the context of your session database after you connected to your application. You can't test it in the order sheet Apex SQL for example, because then it is not defined. The function v gives you access to this and other context variables in pl/sql environment.

Published by: Sven w. on May 20, 2010 09:13

Tags: Database

Similar Questions

  • I teach online and all my classes have the same user name and password. Now that I clicked "remember me next time", I can connect only in one class. How to unlock my password. Carol in English

    I teach online and all my classes have the same user name and password. Now that I clicked "remember me next time", I can connect only in ONE class. How to unlock my login and my password, so that I can use it for all classes. Carol in English

    "Remember Me" for the site connections automatically when you return to the Web site is done with a Cookie the site in Firefox.

    Try to clear your Cookies for this Web site.

    Tools > Options-> life privacy - Cookies = the button show Cookies.

    You must use the custom settings for history at the top of this tab to see the View the Cookies button.

    Enter the domain name in the top search bar and all Cookies for this URL will be displayed. Unless you can figure out which is Cookie to "remember me", you will need to delete them all.

    Hold the {Ctrl} key while you click each Cookie in the small window. When this list is all highlighted, click the Cookie delete button at the bottom left.
    When you are finished click Close.

  • Why my firewall only use the domain user name and password for login and enable passwords, not a different password enable as do it my switches? RADIUS config looks the same...

    / * Style definitions * / table. MsoNormalTable {mso-style-name: "Table Normal" "; mso-knew-rowband-size: 0; mso-knew-colband-size: 0; mso-style - noshow:yes; mso-style-priority: 99; mso-style-parent:" ";" mso-padding-alt: 0 to 5.4pt 0 to 5.4pt; mso-para-margin: 0; mso-para-margin-bottom: .0001pt; mso-pagination: widow-orphan; do-size: 10.0pt; do-family: "Times New Roman", "serif" ;} "}

    Question:

    Firewalls Cisco requires that one level of password, i.e. the domain user name and password are used for logging as that to reach the global configuration mode.

    Background:

    We have several network devices Cisco, put in place who authenticate to our Windows using NPS (Windows 2008 R2) DC. Switches we have implemented the function exactly as we would wish that they need your domain user name and password to connect to the device. Then they require a separate password when you use the enable command, it is stored in Active Directory:

    Switches:

    User name:domain-username

    Password:password-field

    SWITCH >Activate

    Password:Enable-password - to-Active Directory

    SWITCH #.

    Firewalls (as they are now):

    User name:domain-username

    Password:password-field

    Firewall >enable

    Password:password-field

    FIREWALL #.

    With the firewall, however, they require your domain user name and password first and then your domain password again when you use the enable command. I want to reuse the firewall to use the level that currently switches enable password rather than the password of domain. The appearance of the current configuration as follows:

    Current configuration of the switch:

    AAA new-model

    AAA authentication login default local radius group

    AAA authentication enable default group enable RADIUS

    AAA authorization exec default local radius group

    AAA - the id of the joint session

    ACCT-port of 1645 auth-port host 192.168.0.1 Server RADIUS 1646

    Server RADIUS ports source-1645-1646

    RADIUS server key 7 1234abcd

    Current configuration of the firewall:

    RADIUS protocol AAA-server DC01

    AAA-server DC01 (outside) host 192.168.0.1

    authentication AAA ssh console LOCAL DC01

    Console to enable AAA authentication LOCAL DC01

    1234abcd keys

    Any help would be great, thanks!

    You must use GANYMEDE + instead of RADIUS for this.

    Here, you can use command sets in the results section of the policy.

  • I typed the wrong user name and now it comes up in the drop-down list. How can I get rid of him?

    I typed the wrong user name and now it comes up in the drop-down list. How can I get rid of him?

    This has happened

    Each time Firefox opened

    == I typed the wrong name.

    Delete a saved here password: Firefox > Preferences > Security: passwords: "saved passwords" > "show passwords".

    See Password Manager - don't forget, delete, modify and import passwords saved in Firefox
    ---
    http://KB.mozillazine.org/Deleting_autocomplete_entries

  • I changed my apple ID and password user name and it changed on 3 of my devices. I have a 4th device, which still has the old user name and password and I am not able to change it. I can't restore the phone to factory settings unless I can connect.

    I changed my apple ID user name and password on 3 of my devices. I have a 4th device, which still has the old user name and password and I am not able to change it. I can't restore the phone to factory settings unless I can connect.

    OK, just to clarify: you always use the same Apple ID, but you changed its name, correct?

    If this is the case, you can go to iCloud.com or use find my iPhone app (free on the App Store) of one of your devices to remove the 4th icloud.

  • What is the default user name and password of the dynamically created edge NSX gateway?

    Hello

    I created a NAT device on request and as part of it, but an edge gateway. What is the default user name and password to connect to the edge device?

    Thank you

    Pankaj

    I do not know the password by default, but you can either define easily. Just go to the network security &--> NSX edges, select your edge, click actions and identification of Climate change information. You can also enable SSH from there.

  • Connect you to Skype does not work with the correct user name and password

    I tried to login with my correct user name and password, but received the error: unable to connect to Skype.

    So, I reset the password and can log on the Skype website.

    Tried to connect to Skype and the same error: unable to connect to Skype.

    I use

    Mac OS X Version 10.9.5.

    Skype 5.8.0.1027.

    OK, I think I thought about it on my own. I had not used Skype for some time. I just DLed the latest version and here is my connection works fine. Hope this helps you.

  • How can I download the new update on my Macbook pro when the password is not working? When I connect to the Adobe site with the same user name and password it DOES not work. I don't understand why.

    So I have a macbook pro - and she advised me that I had to update my Adobe flash player. So I go through all the steps and I'm stuck at the last stage, where he asks me my user name and password. I go in there correctly - several times and it does NOT connect. He shakes to show that there's an error. Double check my file AND I go to the Adobe site to connect with the same information. and it works very well.

    WHAT IS THE PROBLEM? Help please.

    Could you please try ComputerName administrator as username and the password as password.

    I hope this works.

    Concerning

    Hervé Khare

  • Where in the registry is the login user name?

    I tried to find the registry key containing the login name of the current user.  I tried:

    HKEY_CURRENT_USER\Identities

    but the values are all-hexagonal.

    gsnu201005

    Hi Gary,.
     
    1. What are the values that you see?

    2. Why do you need the information in the registry?

    3. what you trying to accomplish?

    Usually, you do not see your user name. You see a combination of alphabetic letters and numbers.

    Aziz Nadeem - Microsoft Support

    [If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

  • Try to get the login user name in the field of database

    I have an Apex application with 4 tables. Each table has its individual fields more audit 4 fields (CR_DATE, CR_USER, LM_DATE, LM_USER) to follow, create and edit events Records.
    We use authentication database for the application of the Apex, each user has his own connection to the database ID.

    Our standard development efforts resulted in a practically useless 'APEX_PUBLIC_USER' entry in our areas of audit.
    Manual change of our triggers (by Toad) solved this problem. However, a business rule States that all the requirements of design of database are stored in Oracle Designer and manual trigger changes are not an option for us.

    So, we have posted on the forum of designer asking a way to make this change in the designer
    link:Re: manual trigger changes are not retained when the API is generated (re)

    I made the suggested changes and were able to verify that these changes work if I change records using Toad, but don't work not by Apex. It seems that I have the login name used by the server instead.
    (for example if I connect on the toad as a generic user and edit a record, my personal user name appears correctly in the field of the LM_USER - if I change a record through the Apex, connected applicaton as myself, the area of the LM_USER says 'oracle')

    I tried to change the source of the LM_USER field in the Apex to pull the value of APP_USER, but it seems to be crushed (or substitute) by the triggering action.

    The goal is to have the usable information audit trail field on the user who performed an action, if possible based on the: value APP_USER in Apex, which is also the oracle username.

    Hello:

    You might want to reference "CLIENT_INFO" rather than "OS_OUSER" in the trigger, code generation and check if it helps. APEX defines CLIENT_INFO APP_USER for each database request.

    CASE
       when  SYS_CONTEXT('USERENV','CLIENT_INFO') is null then
           cg$rec.CREATED_BY
       else
         SYS_CONTEXT('USERENV','CLIENT_INFO')
    END
    

    CITY

  • How to obtain the windows user name and print it in Doc. HTML using ASP?

    Hello..

    I have a network that is content AD and page Intranet Small
    I want to display the welcome message when the user opens this page
    the message will be "welcome % unsername %.
    username = the logged in (for windows) user name
    But how to get and print the username in HTML using ASP?

    Hey hammad T. Fakhouri,.

    The question you posted would be better suited in the Asp.net Forums. I would recommend posting your query in the Asp.net Forums.

    http://forums.ASP.NET/

  • Enter the valid user name and password to connect in the workspace

    Dear reader,

    We are working on system 9.2.0, the problem that we face are as connect us to the workspace we get an error "Please ENTER THE VALID USERNAME AND PASSWORD TO CONNECT to THE SYSTEM"; and at a time where we access studio EN an another error message that says "COULD NOT CONNECT to GSM SERVER HYPERION: 1800", we have installed Hyperion BI/UI in the same folder and configured with the same repository, each service is correctly installed and configured in shared services, we are able to view the node BI + and we also tried configure the SSP and BI/AC two or three times. Please suggest the solution for the same thing.

    Hi Vikram,

    Check if your EN service is started and your database is running.

    Kind regards

  • When you use fireftp I use the FTP user name and password to connect, but then when I try to connect I get "password not shown" in the lower left corner. Why?

    That's what shows the box below:

    331 user [email protected] OK. Password required

          PASS (password not shown)
    

    Many terminal-style applications remove the password from appearing in the journal of communication, to protect any person who could later read the newspaper. I think that FireFTP that emule. It is important to be able to view the password?

  • How can I remove the 'remember' user names and passwords to sell a computer?

    I'm selling the computer and want to 'clean up', the removal of personal accounts, the user id and passwords that are "saved" on the system.  How can I remove them?

    The best thing to do would be to completely erase the hard drive by using a "safe remove" utility like Darik Boot and Nuke.  If you wanted to be generous, you can then re-install Windows XP and include the installation CD with the computer.

    Most paranoid individuals pleading to remove the hard drive completely, the computer without a hard drive, selling and maintaining or physically destroy the disk hard as you wish.

    If you do not have Windows XP's installation CD, and you insist on the sale of the computer with an operating system, the best thing would be to use the system of the manufacturer of the computer to restore the computer to its "fresh coming from the factory" State.  Usually, this is done by using a hidden partition on the hard drive.

    There are 'file shredder' applications available (you can search for them), but the problem with the deletion of files and folders individual - even if the removal is made with a tool that prevents the recovery data reasonably - is that you never know if you managed to root out all your personal information.  In particular, you probably will not be able to assume that the registry of Windows was completely "sanitized."

  • Display the login user name in dashboard

    Hi all
    I need to show users login name in the "Welcome" box < user > I use SSO & LDAP for authentication, there are also some authorization/personalization made based on the user of the connection. Variable "USER" to assign the connection information.
    Users connect with some id, currently in the dashboard shown here as "Welcome A13GT", instead of the user id of A13GT I need to display as "Welcome Ugser". Can anyone provide a solution for this?

    Do you already set the DISPLAYNAME variabele in the permission block?

    concerning

    John
    http://obiee101.blogspot.com/

Maybe you are looking for