How to get windows XP login name in SAP.

I want get windows XP login name in SAP,  which funcion module can  and How method can, thanks.

hi,
GUI_GET_DESKTOP_INFO – Returns information about the end-users desktop
TH_USER_INFO – Returns information about user
Try this FM, not sure if it return windown user name....give it a try.
Hope this helps, Do reward.
Edited by: Runal Singh on Mar 27, 2008 4:16 PM

Similar Messages

  • Getting windows domain login name into java application

    Hi,
    I am looking how can i get user name of windows logged in user. I want to display the user name in the welcome message of the application. The user will be logging into the domain. Please note that I need windows logged in client user name.
    Please give suggestions or any direction on this.
    Thanks

    Thanks a lot for your prompt response.
    I tried the example. It works really great from the command prompt.
    How do I integrate with application.
    My application runs on OC4J server. I hope I need to change the java security.policy file or something to point to my application sepecific policy file (i.e. in the example, the file that we give thru command line).
    Not sure.
    If possible can you give me some idea on how to change these policy files.
    I know I am asking too much, but please help me in this.
    Thanks

  • How can I get the workspace login name in a custom jsp?

    I want to add a custom jsp in workspace, how can I pass the login name to this jsp?

    DrClap wrote:
    I think the OP wants to start up an application like MS Word and then operate it from a Java program.Doesn't The Monkey's Paw do that? What a second, according to Wikipedia:
    [http://en.wikipedia.org/wiki/The_Monkey%27s_Paw]
    <quote>
    ...the paw of a dead monkey is a talisman that grants its possessor three wishes, but the wishes come with an enormous price.
    The moral of the story is contained in this description of the paw: "It had a spell put on it by an old fakir," said the sergeant-major, "a very holy man. He wanted to show that fate ruled people's lives, and that those who interfered with it did so to their sorrow."
    </quote>
    So I guess that a non-sequitor ... or is it?

  • How to get a parameter without name in JSP?

    hi everyone, My question is how to get a parameter without name in JSP? I have two pages, 1.html and 2.jsp.
    in 1.html, I embeds some Javascript codes in HTML contents like below ( changed < to ( , > to )):
    function toSubWin( obj )
    window.open('test.jsp?'+obj.firstChild.toString(),'sw');
    (a onClick='toSubWin(this)'style="background:green")focus(/a)
    How can I get the parameter in 2.jsp?
    THANK YOU IN ADVANCE!!

    Does obj.firstChild.toString() evaluate to a "name=value" type of String ?
    Or better what does obj.firstChild.toString(),'sw' evaluate to ? It has to end up in a name=value format, else its just gibberish appended to the url.
    In the jsp, you have to obviously know the name to get the parameter. There's a getParameterNames() method which returns you a Collection of parameter names as Strings, you could probably use that to retrieve the param values.
    Then there's a getParameterMap() method which returns an immutable Map containing parameter names as keys and parameter values as map values. The keys in the parameter map are of type String. The values in the parameter map are of type String array.
    However to what ends you employ them in a program which doesnt know its inputs is a different story.
    cheers,
    ram.

  • A friend gave me an older Nano 3rd generation. Can anyone tell me how to delete what is on there and how to get rid of his name. It does not connect to my itunes. I cannot even find the source or the place to restore it as suggested in the owners manual.

    I have a 3rd generation ipod that a friend gave me. I cannot find anything on how to get rid of his name and music on it. This is what the owners manual says:
    "Select ipod nano in the soiurce list and click the summary tab" I cannot find the source or the summary tab on itunes. Can any one help me? I would like to delete everything on it and start over but I am afraid I cannot add anything back on it. I know this is detailed and a lot, but I really need help.

    Restore
    Note: Because Restore erases all of the songs and files on iPod, make sure toback up any files you've saved on the iPod disk. All of your songs, videos, podcasts, audiobooks, and games can be loaded back to your iPod provided that you have them stored in your iTunes Library.
    How to restore your iPod:For Windows:
    1. Make sure you've reinstalled the latest version of iTunes.
    2. Open iTunes, and then connect your iPod to your computer.
    3. After a few moments, it will appear in the source list in iTunes. If the iPod's display doesn't show "Connected" or "Do not disconnect" you may need to put the iPod into disk mode to proceed.
    4. Select your iPod in the source list and you will see information about it appear in the Summary tab of the main iTunes windows.
    5. Click the Restore button. You will be prompted with one or more restore options that may prompt iTunes to automatically download of the latest iPod Software. The 4 possible restore options are:
    Restore Option 1: Restore - Restores with same iPod Software version already on iPod.
    Restore Option 2: Use Same Version - Restores with same iPod Software version already on iPod even though a newer version is available.
    Restore Option 3: Use Newest Version - Restores with the latest iPod Software on your computer.
    Restore Option 4: Restore and Update - Restores with the latest iPod Software on your computer.
    6. A progress bar will appear on the computer screen indicating that the first stage of the restore process has started. When this stage is completed, iTunes will instruct you to leave iPod connected to your computer to complete restore.
    7. During the stage 2 of the restore process, the iPod will show an Apple logo as well as a progress bar at the bottom of the display. It is critical that the iPod remains connected to the computer or iPod Power adapter during this stage. Note: The progress bar may be difficult to see since the backlight on the iPod display may be off.
    8. After stage 2 of the restore process is complete and the iPod is connected to the computer, the iTunes Setup Assistant window will appear asking you to name your iPod and choose your syncing preferences similar to when you connected your iPod for the first time.
    For Mac:
    1. Make sure you've reinstalled the latest version of iTunes.
    2. Open iTunes, and then connect your iPod to your computer.
    3. After a few moments, it will appear in the source list in iTunes. If the iPod's display doesn't show "Connected" or "Do not disconnect" you may need to put the iPod into disk mode to proceed.
    4. Select your iPod in the source list and you will see information about it appear in the Summary tab of the main iTunes windows.
    5. Click the Restore button. You will be prompted with one or more restore options that may prompt iTunes to automatically download of the latest iPod Software. The 4 possible restore options are:
    Restore Option 1: Restore - Restores with same iPod Software version already on iPod.
    Restore Option 2: Use Same Version - Restores with same iPod Software version already on iPod, even though a newer version is available.
    Restore Option 3: Use Newest Version - Restores with latest iPod Software version on your computer.
    Restore Option 4: Restore and Update - Restores with latest iPod Software version on your computer.
    6. A message will appear prompting you to enter an administrator's name and password.
    7. A progress bar will appear on the computer screen indicating that the first stage of the restore process has started. When this stage is completed, iTunes will instruct you to leave iPod connected to your computer to complete restore.
    8. During the stage 2 of the restore process, the iPod will show an Apple logo as well as a progress bar at the bottom of the display. It is critical that the iPod remains connected to the computer or iPod Power adapter during this stage. Note: The progress bar may be difficult to see since the backlight on the iPod display may be off.
    9. After stage 2 of the restore process is complete and the iPod is connected to the computer, the iTunes Setup Assistant window will appear asking you to name your iPod and choose your syncing preferences similar to when you connected your iPod for the first time.
    Source:
    iPod nano (3rd generation) Troubleshooting Assistant
    Message was edited by: michael08081

  • How to get the actual font name from a font file?

    Hi
    I have only the font Path I have to get the font name from that path. Any idea how to get the actual font name?
    Thanks,

    I would ask you these questions:
    Why do you need to do this?  What are you ultimately trying to accomplish?
    Are you really asking about the InDesign SDK?
    Do you really need to get the "name" of a font from an arbitrary file?  Or do you want information about a font installed on the system?  If so, what OS?
    Do you need to be able to handle any font format?
    Which font "name" do you mean?
    What language do you want the name in?
    (1) It's not clear what you're trying to accomplish.  A bit more information about your ultimate goal would be helpful.
    (2) This question is not at all specific to the InDesign SDK.  Are you really trying to do something in the context of an InDesign plug-in?  If so, you probably want to look at IID_IFONTFAMILY and the IFontFamily::GetFamilyName function.
    (3) If you are asking more generally, Windows and Mac both have system API calls to get this information, although those tend to deal with installed system fonts, not with arbitrary font files per se.
    Also, you can parse the name table from a True Type or Open Type font without using any system APIs; as True Type and Open Type are well-documented standards.  I would start by reading these:
    The Naming Table
    Font Names Table
    (4) Although there are other standards, such as Type 1 (PostScript) fonts, and True Type Collection files and other formats, especially on Mac.
    (5) Also, when you start down this road, you will quickly realize that your seemingly simple question is actually ambiguous, and that the answer is kind of complicated, because a font can have many names (a family name, a full font name, a style name, a PostScript name, etc.).
    (6) And not only does a font have multiple names, it can have each of those names in multiple languages and encodings.
    Any clarification would make this a better question.

  • Capture a user's window 2000 login name

    How can I capture a Windows 2000 login name from within a JSP or an applet or, better still, from some other code running on the application server from which they're downloaded?

    http://java.sun.com/docs/books/tutorial/essential/system/properties.html

  • Capture a user's Windows 2000 login name

    How can I capture a Windows 2000 login name from within a JSP or an applet or, better still, from some other code running on the application server from which they're downloaded?

    mgulesian, you might want to query the system properties.
    System.getProperty("user.name")Please note that this property is subject of security constraints (and there're good reasons for this, read the Java Tutorial, Trail: Essential Java Classes, Lesson: Accessing System Resources for details). For example, web applications running inside Tomcat are not allowed to query this property by default. Think twice before doing this, you have been warned!
    HTH, Markus

  • In ME2N  report for PO- How to get or add Vendor name in ALV grid output

    Hl Everyone
    How to get  or add Vendor Name and payment terms in the ALV grid output for the follwing reports like ME2N and ME2V.
    cuurently i am in 4.7 E version.
    Kindly suggest..........
    thanks in advance
    Regards
    Prashanth

    Hi Pankaj
    I knew that vendor name field is avaiable in ECC versions, but how to get the same field(vendor name) in 4.7 E vesion.
    Kindly suggest
    Regards
    Prashanth

  • How to Bypass Windows 7 Login Screen When Forgot Admin Password

    When forgot Windows 7 administrator login password and be stuck at the login screen what can you do? Believe that many people have encountered such a situation where they are locked out of their own computer for forgotten Windows administrator password. So today I would like to talk about several tricks on how to bypass Windows 7 login screen when forgot administrator login password. Trick 1: Reset Windows 7 admin password with password reset diskIf you have ever created a Windows password reset disk for that administrator account before you forgot its password it is easy to use it to reset or remove its password. Just insert the disk into your locked Windows 7 computer and click ¡°Reset Password¡± link on the login screen. Then follow the password reset wizard to perform password reset. This is the easiest way to bypass a Windows login screen when forgot administrator password. Trick 2: Change Windows 7 admin password in Safe ModeIf you have no password reset disk you have to look for other tricks to bypass your Windows 7 administrator password. So if you have enabled the built-in administrator account you can enter Safe Mode by pressing F8 when your computer is booting. And access that built-in administrator account to change other user password. Trick 3: Bypass Windows 7 Login screen with Windows Password RescuerIf the forward 2 tricks don't work, it is necessary for you to use an effective Windows Password Recovery tool like Daossoft Windows Password Rescuer. Steps are as below.Step 1: Download and install Daossoft Windows Password Rescuer into another accessible computer.Step 2: Launch this tool and follow its instruction to burn it to a USB/CD/DVD flash drive.Step 3: Boot your locked Windows 7 computer from the flash drive.Step 4: Follow its instruction to reset/remove your Windows administrator password. Detailed video tutorial :How to Remove or Bypass Windows 7 Administrator Password - Forgot Windows 7 Administrator Password

    The methods above don't work at all. Eventually I used a paid tool - PCUnlocker Live CD, and it successfully bypassed my lost admin password. 

  • How to get Windows Server 2012 trial license key?

    How to get Windows Server 2012 trial license key? I'm trying to install WinServer 2012 Trial on a VMWare Workstation 9. I'm asked for the product key during set up. If I ignore putting in the key (since I don't have one) The install fails stating no valid
    key. I tried this with Oracle's Virtual Box and the same thing happens. I tried using Majic JellyBean to find the key, but that only works on pre-installed OS. A Technet article said to use aaaa-bbbbb-ccccc-ddddd etc. in the spaces. That doesn't work either.
    Articles all over the web seem to have other people in the same boat. Please help :)

    Download the trial version from here -
    http://www.microsoft.com/en-us/server-cloud/evaluate/trial-software.aspx  It does not require a key.  If the software is asking for a key, it is not the trial copy.  Where did you get your copy?
    .:|:.:|:. tim

  • How to get the current schema name

    Hi,
    Can anybody please tell me how to get the current schema name, there is some inbuilt function for this,but i am not getting that. Please help me.
    Thanks
    Jogesh

    ok folks, I found the answer at Tom's as usual.
    http://asktom.oracle.com/tkyte/who_called_me/index.html
    I rewrote it into a function for kicks. just pass the results of DBMS_UTILITY.FORMAT_CALL_STACK to this function and you will get back the owner of the code making the call as well some extra goodies like the name of the code and the type of code depending on the parameter. This ignores the AUTHID CURRENT_USER issues which muddles the schemaid. Quick question, does the average user always have access to DBMS_UTILITY.FORMAT_CALL_STACK or does this get locked down on some systems?
    cheers,
    paul
    create or replace
    FUNCTION SELF_EXAM (
       p_call_stack VARCHAR2,
       p_type VARCHAR2 DEFAULT 'SCHEMA'
    ) RETURN VARCHAR2
    AS
       str_stack   VARCHAR2(4000);
       int_n       PLS_INTEGER;
       str_line    VARCHAR2(255);
       found_stack BOOLEAN DEFAULT FALSE;
       int_cnt     PLS_INTEGER := 0;
       str_caller  VARCHAR2(30);
       str_name    VARCHAR2(30);
       str_owner   VARCHAR2(30);
       str_type    VARCHAR2(30);
    BEGIN
       str_stack := p_call_stack;
       -- Loop through each line of the call stack
       LOOP
         int_n := INSTR( str_stack, chr(10) );
         EXIT WHEN int_cnt = 3 OR int_n IS NULL OR int_n = 0;
         -- get the line
         str_line := SUBSTR( str_stack, 1, int_n - 1 );
         -- remove the line from the stack str
         str_stack := substr( str_stack, int_n + 1 );
         IF NOT found_stack
         THEN
            IF str_line like '%handle%number%name%'
            THEN
               found_stack := TRUE;
            END IF;
         ELSE
            int_cnt := int_cnt + 1;
             -- cnt = 1 is ME
             -- cnt = 2 is MY Caller
             -- cnt = 3 is Their Caller
             IF int_cnt = 1
             THEN
                str_line := SUBSTR( str_line, 22 );
                dbms_output.put_line('->' || str_line);
                IF str_line LIKE 'pr%'
                THEN
                   int_n := LENGTH('procedure ');
                ELSIF str_line LIKE 'fun%'
                THEN
                   int_n := LENGTH('function ');
                ELSIF str_line LIKE 'package body%'
                THEN
                   int_n := LENGTH('package body ');
                ELSIF str_line LIKE 'pack%'
                THEN
                   int_n := LENGTH('package ');
                ELSIF str_line LIKE 'anonymous%'
                THEN
                   int_n := LENGTH('anonymous block ');
                ELSE
                   int_n := null;
                END IF;
                IF int_n IS NOT NULL
                THEN
                   str_type := LTRIM(RTRIM(UPPER(SUBSTR( str_line, 1, int_n - 1 ))));
                 ELSE
                   str_type := 'TRIGGER';
                 END IF;
                 str_line  := SUBSTR( str_line, NVL(int_n,1) );
                 int_n     := INSTR( str_line, '.' );
                 str_owner := LTRIM(RTRIM(SUBSTR( str_line, 1, int_n - 1 )));
                 str_name  := LTRIM(RTRIM(SUBSTR( str_line, int_n + 1 )));
              END IF;
           END IF;
       END LOOP;
       IF UPPER(p_type) = 'NAME'
       THEN
          RETURN str_name;
       ELSIF UPPER(p_type) = 'SCHEMA.NAME'
       OR    UPPER(p_type) = 'OWNER.NAME'
       THEN
          RETURN str_owner || '.' || str_name;
       ELSIF UPPER(p_type) = 'TYPE'
       THEN
          RETURN str_type;
       ELSE
          RETURN str_owner;
       END IF;
    END SELF_EXAM;

  • How to get the current function name in java

    How to get the current function name in java.
    In c it is done as
    printf("%s",__func__);
    Thanx in advance.

    j0o wrote:
    System.out.println("Class Name: " + new Exception().getStackTrace()[0].getClassName() +
    "/n Method Name : " + new Exception().getStackTrace()[0].getMethodName() +
    "/n Line number : " + new Exception().getStackTrace()[0].getLineNumber());
    I pointed the OP at this approach yesterday in one of his multi-posts. I still have not been given my Dukes!

  • How to get windows username printed on each page irrespective of application? we have cm6030f.

    How to get windows username printed on each page irrespective of application? we have HP CM6030F.

    Hi,
    Normally, you will receive a Windows Azure Pass from your local Windows Azure team. Please try to contact your local Windows Azure contact (http://support.microsoft.com/gp/customer-service-phone-numbers?wa=wsignin1.0
    Also, you could see this page
    http://www.windowsazurepass.com/AzureU/AcademicFAQ and apply the free trial azure via (http://www.windowsazurepass.com/AzureU/).
    Q: I am a student. Can I apply for a pass?                     
    A: Windows Azure Educator Grants are only for valid faculty. If your faculty has been awarded a Windows Azure Educator Grant, you will be able to get a pass through him/her for you coursework. If you are interested in learning more about Windows Azure,
    we encourage you to share these Educator Grants with your faculty or sign up for the FREE 3-month trial offer. 
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to get the jsp page name in jsp?

    how to get the jsp page name in jsp? how the jsp get the jsp page name dynamic.
    thanks in advance.

    Try request.getServletPath()

Maybe you are looking for

  • Yosemite startup with iCloud

    Yosemite startup with a box saying there is a problem login with my email to iCloud is anyone else having the same problem if so how do you fix it this happens nearly every time i startup the mac and go to the main screen i go system preferences then

  • LV820 VarMgr Error 7 on close (no RT info)

    Looking for suggestions regarding trouble with LV820 Variable Manager (VM) while viewing PXI RT system hosting single deployed Network Shared Variables (NSV) library. Standard LV 'Error 7 occurred at New File' (file not found) dialog appears when clo

  • Mass change of component in Task list

    Hi Experts I have thousands of material and there are changes done for them to use them in maintenance order task list as stock or nonstock. The task is to change the item category (from L to N or from N to L) of those materials used as components in

  • Why can't i get the ipad to respond to touch

    I can open a program OK but can't seem to be able to close. what am i doing wrong?

  • Migrating existing Menu Bar to ADF 11g

    I have the top nav bar for my existing application made with javascript..The menu flows on mouseover..We later started adding ADF 11g screens to the application.. and in every screen i include the javascript Top Nav bar. Please suggest how i can deve