How to view computer-id (user name) in the text element

I want to know how to display the name of average user specific computer id that uses my module in the text element?


Any idea

Concerning

Therese

Hai,

Run the following command to create a database function.

CREATE FUNCTION Fn_Get_Computer_Name RETURN VARCHAR2 IS
        Str_RetVal VARCHAR2(1000);
BEGIN
      SELECT SYS_CONTEXT('USERENV', 'OS_USER') INTO Str_RetVal FROM DUAL; -- Windows User Name
      RETURN Str_RetVal;
EXCEPTION WHEN OTHERS THEN RETURN NULL;
END;

And in the forms, just write

:. := Fn_Get_Computer_Name;

Kind regards

Manu.

If this answer is useful or appropriate, please mark. Thank you.

Tags: Oracle Development

Similar Questions

  • How can I change my user name for the profile of apple

    Hi mac tribe is anyway to have the username my apple changed something else?

    If you are referring to your user name of communities of Apple Support, I ask the moderators of Apple for help, but may take several days or more.

  • How to display database records in the text element

    Hello friends,
    I use forms6i...
    I called "username" in the layout of text editor. I created this point in the text of the data block Wizard... I put the number of items displayed = 3 in this wizard...
    In the 'user name' property palette I have following changes
    Number of displayed items = 3;

    When I click on the button named "list_user" must watch all the user names in the text element...
    My shutter button pressed when code is:


    declare
    cursor c1 is
    Select Logid log1 where logout_date is null;
    Start
    Open c1;
    Fetch c1 into: name of user;
    end;

    But my problem is when I run the user a single form displayed in the text element... The text elements two remaining are have no data...

    The result of the cursor query is:



    SQL > ed
    A written file afiedt.buf

    1 Select logid log1 where logout_date is null
    SQL > /.

    LOGID
    --------------------
    104
    105
    106


    Please help me

    Published by: Bauer on February 23, 2011 01:45

    1.
    There is no loop in your code, so it stops after the first extraction.

    2.
    with each loop you overwrite the same text field. Add CREATE_RECORD:

    DECLARE
        CURSOR c1 IS
            SELECT logid
            FROM   log1
            WHERE  logout_date IS NULL;
    BEGIN
        OPEN c1;
        LOOP
            IF :username IS NOT NULL THEN
               CREATE_RECORD;
            END IF;
           FETCH c1
           INTO  :username;
           EXIT WHEN c1%NOTFOUND;
        END LOOP;
    END;
    
  • HOW CAN I CHANGE MY USER NAME IN DRIVE C

    Please tell how I can change my user name in the C drive. It is set up as a NEW, but I would like to change my name. So pls help.

    I think this is the info that you need to (if I understand the question).

    1 http://windows.microsoft.com/en-us/windows/rename-user-account#1TC=windows-7

    then

    2 http://support.microsoft.com/kb/2454362/en-gb

    Good reading to confirm that this is what you wanted to do.

    NOTE: As it is to change the registry, its recommended to backup your PC first, and then set a restore point, then a backup of the registry before changing anything. This ensures that you can get your PC back to how it is now called something must be wrong go, or change doesn't have the desired effect.

    This gives a little more detail if necessary - http://www.sevenforums.com/tutorials/147545-user-profile-folder-change-user-account-folder-name.html

  • How can I remove the user name and the image of Windows XP new Start Menu

    Two questions:

    1. How can I delete the user name and the image of Windows XP new start; and

    2. my computer keeps asking me to press the F1 key to start Windows.  How to skip this part?

    Thank you.

    Hello

    The image of user account can be removed by disabling the Welcome screen. Or, by opting for the classic Windows theme. Follow the method described in this article, if you want to remove the user name and the picture in the Start Menu, without disabling the Welcome screen and Windows XP theme.

    For those who want to delete the user name and the image of user account from the Start Menu, in order to have a blue white Panel at the top, try this:

    Registry warning
    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    How to back up and restore the registry in Windows
    http://support.Microsoft.com/kb/322756/

    Step 1:

    a. start Windows Explorer and go to this folder:
     
    C:\Documents and Settings\All Users\Application Data\Microsoft account images

    b. in this folder, rename the BMP file that corresponds to your user account.
     
    (For example, if your user name is Robert, rename Robert.bmp to old_Robert.bmp)

    c. then rename the following folder:

    C:\Documents and Settings\All Users\Application Data\Microsoft account Pictures\Default pictures
     
    to something else, for example,.
     
    C:\Documents and Settings\All Users\Application Data\Microsoft account Pictures\No_Default images.

    Step 2:
     
    To remove the user name, follow these steps

    a. Click Start, click "RUN" and type "regedit.exe" and navigate to this key:
     
    HKEY_CURRENT_USER-Software-Windows Microsoft\------CurrentVersion-policies-Explorer

    b. in the right pane, the value NoUserNameInStartMenu-value data 1.

    c. close Regedit.exe and restart Windows.

    You'll find yourself with a blue area at the top of the Start Menu.

    Regarding the pressing 'F1' to start Windows, you have made no changes or was there a system crash after which the problem started?

    You may need to change the boot sequence in the BIOS to the default settings. I recommend you contact your PC vendor for this.

    Warning of the BIOS:
    BIOS change / semiconductor (CMOS) to complementary metal oxide settings can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the configuration of the BIOS/CMOS settings can be solved. Changes to settings are at your own risk.

  • I forgot my icloud user name and the password, my ID apple won't do me in my phone how to lay or clear everyhing so that I can use my phone again?

    I forgot my icloud user name and the password, my ID apple won't do me in my phone how to lay or clear everyhing so that I can use my phone again?

    https://iforgot.Apple.com/password/verify/appleid#! & section = password

  • How can I change my user name in acrobat? I want to use another name in my comments

    How can I change my user name in acrobat? I want to use another name in my comments

    The real "Login" name cannot be changed, but there is a preference that allows the application to always use the name of 'connection' to the name of the author may not be used.  It is under Edit > Preferences > commenting and in the section "to comment.  Uncheck "always use Log-in name for author name.

  • How to get the user name of the user logged into the E-Business Suite in OFA

    Hi all

    I developed a few screens in OPS and recorded also in Oracle applications. I need to enter the user name of the user who has logged in to the E - Business Suite to access my Application OFA, so that depends on his user name I will post a welcome Message on my screen.

    Can someone please suggest how to achieve?

    With our thanks
    Gerber

    Use pagecontext.getuserId or pageContext.getUserName in your controller

    Thank you
    Kassy

  • How to get the user name during the execution of a workflow?

    Here's what I would do:

    Say that each user is allowed to have 4 instances QA, create a workflow when a user run from vCenter plugin, it must be able to get the user name of the SSO user jsmith, and then he questions if there is an existing virtual machine jsmith_qa1, jsmith_qa2,jsmith_qa4, etc., if there isn't one, then create one for him; If not, indicate to the user that there are already 4 cases.

    I found that I can use getCurrentLdapUser to get [email protected] , now I want to remove the domain.name (there are several areas):

    username = actionResult.userPrincipalName.replace ("@[a - z].") +","");

    This does not work. Anyone know where I can find the right document for the document script of vRealize Orchestrator?

    Thank you!

    Jack

    vRO uses javascript as its scripting engine.

    UPN var = actionResult.userPrincipalName;

    var username = upn.substring (0, upn.indexOf("@"));

    Something like this will give what you want. You could also do a replacement, but I think that you should remove the quotes around the regex and use "/" instead.

    username = actionResult.userPrincipalName.replace (/ @[a - z] "+ /," "");

    Paul

  • How to clear the user name on the HomePage of PeopleSoft

    As a reason of security we want to clear the user name on the HomePage of PeopleSoft, whenever the end user opens the link we want to empty user id

    Currently he get the user id of the previously connected to the user as the default id.

    Kind regards

    CCCma

    It is filled by the cookie SignOnDefault.  The cookie is placed in the servlet of psp and the value is passed back and forth between the cookie and the session ID USER during the logon process variable.  Signin.html page uses JSP to fill in the field with the value.  An easy way to remove the login page user ID would be out of the JSP.  If you change signin.html in the PORTAL. ? war? / WEB-INF/psftdocs / path and delete <%=USERID%> value of the form which will stop the population of the user ID in the page.  In addition, you can delete signintrace.html as well.  Edit this file would require a restart of Weblogic and if you ever redeployed PIA for what anyone (update or a patch) you do the update again.

  • View date and user name on blade results

    Hello

    Is it possible in captivate that a user can enter the user name and the date at the beginning of the project, which later can be displayed on the results slide

    Hello

    Its good news. It was a pleasure to help you.

    Thank you!

  • Different PC user name to the user license server names

    Hi all

    I encountered the problem that on some PCs running with a goal of training of RPF of generic user account, the License Manager will not grant one of my licenses in volume. How can I get LabVIEW to communicate with the license server with a different user name for the windows login name? I already tried tools--> user name, but it has not fixed the problem.

    I'm always under 8.2.1 on these computers.

    Concerning

    Oli

    Hi Oli,

    You have licenses based on the user or computer
    licenses? From your description, looks like you have several
    licenses based on users and multiple training computers where windows
    usernames are all identical. Is this correct? If that's the case then
    You should be able to grant a license in volume for this username but it
    you won't concede more than one license under the same name. Change
    LabVIEW settings will not solve this that this problem concerns more with Windows
    and VLM. To resolve this problem, you can either go in windows and create
    new usernames or you can call and we could you spent to get
    computer license and you should be good to go.

    Lars

  • accounting software inserts the user name in the modified records,

    I have a customer accounting business.  A laptop there is a user "Kathy".  She connects with Kathy, all I see is Kathy, except when I echo % user_name % the result is 'user '.   The problem is that accounting software inserts the user name in the records changed, which makes 'Kathy' changes to a customer record eventually registered as being made by 'user '.  All computers in the company have the same user (different usernames) parameters and all other computers insert the correct user name in the records of change.

    Profile of Kathy is new and there is no other user account on this computer.

    Profile in the registry settings all show them "Kathy".

    Can someone tell me how to solve this problem?

    Thank you

    OT:

    Windows user name

    I think would be best to contact the developer of accounting software.  We have no idea of what the software needs or.

  • I noticed that my user name in the C drive has disappeared and is displayed under the desk

    original title: save files on the net / backup of the files in the C drive

    These 20 to 30 days, I noticed that my user name in the C drive has disappeared and is displayed under the desk. In addition, whenever I try to save a file on the net on my laptop, this allows me to record only at this location:

    C:\Users\vijai\AppData\Local\Microsoft\Windows\Temporary Internet Files\Virtualized\C\Users\vijai\Documents

    Also in the Solution Explorer, while all other folders category, like documents, pictures, music etc appear in the left panel, these do not appear in the right panel. I also note that a "Application Data" folder appeared under my user name and all files stored in this folder only.

    Can someone help me solve this problem

    Hi, VIJAIRAGHAVANP V,.

    You can try the following steps and check.

    Method 1:

    You can try a system restore to a prior restore point before you have been affected by the issue.

    Note: When you perform the system restore to restore the computer to a previous state, programs and updates that you have installed are removed.

    To run the system restore, you can consult the following link:

    System restore

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-is-system-restore

    System Restore: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/system-restore-frequently-asked-questions

    Method 2:

    If you are still facing problems then try creating a new user account and check if the problem occurs:

    Create a user account

    http://Windows.Microsoft.com/en-us/Windows-Vista/create-a-user-account

    If you are not faced with any issue, then check out the following link to correct a damaged account.

    Fix a corrupted user profile:

    http://Windows.Microsoft.com/en-us/Windows-Vista/fix-a-corrupted-user-profile

    Hope this information helps.

  • What should I do to remove the user name of the saved list when I connect

    What should I do to remove the user name of the saved list when I connect

    I think maybe he's talking about the list that is displayed when you connect to a web mail service. It shows several previous usernames used. How to remove one of them from the list?

Maybe you are looking for