Get MII login name without applets

We have been modifying our MII pages to minimize use of applets and maximize use of AJAX.
With the example Javascript code I have, there is one thing I don't know how to do: get the UserID of the logged-in user without the use of applets.
With any applet on the page, I can use this syntax:
var username = document.[AppletName].getPropertyValue("IllumLoginName");
How can I do the same thing without the use of applets?
Thanks,
Greg

This was a step in the right direction.
(For my AJAX purposes it was important to add "&Content-Type=text/xml" to the end:
/XMII/Illuminator?service=admin&mode=CurrentProfile&Content-Type=text/xml)
However, this worked only when the logged-in user also happens to be an administrator. It doesn't work for just any user. Is there a way of obtaining the name of the logged-in user (and other info such as their roles would also be helpful!) even if that user isn't an administrator?
Greg

Similar Messages

  • Get server instance name without deploying weblogic.jar to client

    I use wlclient.jar with my client. Using weblogic.jar instead causes the
    size of the deployment package of my client to go from 4 meg to 34 meg
    (roughly). I don't want full MBean functionality, all I want to do is find
    out what the server instance name is. Surely there's a way to do this.

    Hi,
    Weblogic provides you a way to create client jar files so that the complete weblogic.jar
    doesn't need to be downloaded to the client. The tool is called verboseToZip.
    See
    http://e-docs.bea.com/wls/docs70/adminguide/utils.html#1117405
    hope this helps, pat
    "BEA" <[email protected]> wrote:
    I am trying to deploy my client application on a standalone windows machine
    and do not wish to deploy weblogic.jar with the client deployment. Is
    there
    any way of allowing my clients to use Weblogic JNDI without having to
    deploy
    weblogic.jndi.WLInitialContextFactory.class (and its associated classes.
    I find it hard to believe that everyone who is developing on weblogic
    distributes this JAR file to their customers with their client
    applications....?
    Can you use something other than weblogic.jndi.WLInitialContextFactory
    such
    as the sun jndi provider instead....?
    If anyone can shed some light on this deployment problem it would be
    much
    appreciated.....even if its simply 'thats just the way you have to do
    it
    !......will save me time trying to get other solutions to work...!
    TIA

  • How to get actual user name without admin rights from AD?

    Hi,
    I have set up WebLogic Portal 8.1.2 to point to Active Directory, using ActiveDirectoryAuthenticatorMBean I'm trying to retrieve the actual user name e.g. John English. Can someone give me some advise what is the proper function to use. I tried getUserDescription but it requires AD admin rights. I can't get admin rights! Is there any workarounds?
    Thank you very much.
    Regards,
    Damon

    You might use GLOBAL_NAME, but the result could be not what you need. If you can login to DB server you can use "lsnrctl services" to see how the DB is registered with the listener. See this example :
    SQL> sho user
    USER is "TEST"
    SQL> select * from v$instance;
    select * from v$instance
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> col GLOBAL_NAME for a60
    SQL> select * from global_name;
    GLOBAL_NAME
    ORA9.US.ORACLE.COM
    SQL> exit
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    $ lsnrctl services
    LSNRCTL for Linux: Version 9.2.0.4.0 - Production on 25-FEB-2008 18:21:10
    Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
    Services Summary...
    Service "foo" has 1 instance(s).
      Instance "ora9", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:1 refused:0 state:ready
             LOCAL SERVER
    The command completed successfully
    $in this case "foo" is what you'd need.
    Of course you can always grant SELECT ANY DICTIONARY privilege to that user....

  • How to get the login name and password

    Hi,
    I had installed the SAP NW2004s on Windows platform with MaxDB as backend.
    The master user name and password which i used for instllation was
    Username :Administrator
    password:trustno1.
    My SAPSID and DBSID is J2E
    Now i want to login into maxdb
    how should i procedd
    IF i fire the following commnd
    dbmcli -d J2E -u Administrator,trustno1
    i get the follwoing error
    C:\sapdb\programs\bin>dbmcli -d J2E-u Administrator,punadmin
    Error! Connection failed to node (local) for database J2E: ERR_USRFAIL: User aut
    horization failed
    Please help.

    Hi Manoj,
    You are trying to login into database using SAP level user:Administrator. Try login using <sid>adm/SAPService<SID> user or the database user. For more info on MAXDB adminsitration please check:
    <a href="https://websmp230.sap-ag.de/sap(bD1kZSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=846890">MAXDB admin</a>
    Also check OSS note 143412.
    Please award points accordingly.
    Regards.
    Message was edited by:
            Ruchit Khushu

  • Get computer login names

    Hey Everyone,
    I started at a new company recently and there are a ton of computers that are not associated to users.  Basically I don't have a way of knowing which computer belongs to whom unless I check each computer.  I need a script that checks the person
    logged on against a file of computer names from active directory.  Is this possible to check who is using that computer?
    Thanks,

    Thanks Andy-man.  I added some pc's to the pclist text file and ran the script but it didn't output the logged in user.  The results from power shell are below.  I created a c:\scripts directory and "names" is the name of the script.
    PS C:\Script> .\names
        Directory: C:\script
    Mode                LastWriteTime     Length Name
    -a---         3/14/2014   8:12 AM          0 pcusers.txt

  • Getting users login name from app

    All
    How do i extract a users login userid so that i can use it when a submit button is pressed to update an entry in a table.

    Make use of :APP_USER. This will give you the user login.
    Denes Kubicek

  • Request.getRemoteUser()  to find out login name using NtlmFilter

    can we implement request.getRemoteUser() without using NtlmHttpFilter.
    Actually, i do not want to uise the filter because i am already using a filter.
    So can we make any declaration of the Ntlm class and use it such that we can easily access the login name without using the Ntlm Filter in the DD(web.xml)?
    A timely response will be highly appreciated.

    Hi,
    For having a look at the relation between BEx tables,check the link below:
    http://wiki.sdn.sap.com/wiki/display/BI/ExploretherelationbetweenBEx+Tables
    -Vikram

  • Get user login in Javascript

    Dear all,
    I would like to create a script to build a URL.
    I would like to add a variable with the user login name.
    Does anyone know how to do it?
    Thanks in advance.
    Gonçalo

    Hi,
    According to your post, my understanding is that you want to add a variable with the user login name.
    To get the login name, you can refer to:
    How to get current logged user information using JavaScript ?
    To add variable to url, you can refer to:
    Adding or Changing parameter (query string) to current url in javascript
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • I had renamed my user login name and assumed that there will be no change in the settings and files. When I login with the new profile name everything is gone. How can I get back all my files and settings?

    I had renamed my user login name and assumed that there will be no change in the settings and files. When I login with the new profile name everything is gone. How can I get back all my files and settings? Please help. Thanks.

    You should have asked this before you tried: Changing username or short name- User Account and Short Name- OS X- How to change user account name or home directory name.

  • # How to get the system AD Domain user login name in portal?

    when a system user use AD Domain method login the system.
    and then the user open the portal web application page, but not use AD Domain name login in portal page, that time ,I want to catch the user system login name show in portal page?
    I hava try the sereval method with Java or Jsp, or User Cookies ActiveX pulg,I get only the name of the portal hostname.
    so Anyone will provider me a well method to get the user login name?

    Elobrate more on ur problem

  • How to get List Item attachments name without write any custom code or any database query?

    Hi,
    How to get List Items attachments name without write any custom code or any database query?

    You can get it from Rest,
    There are 2 options,
    1) create a 'Result Source' which has a search query for that List which has attachments 
     - Use rest query to get the 'Filename' , it will have the attachment file name 
    For example, if the result source id is : 73e6b573-abf8-4407-9e5f-8a85a4a95159 , then the query will be 
    http://[site URL]/_api/search/query?querytext='*'&selectproperties='Title,Path,FileExtension,SecondaryFileExtension,Filename'&sourceid='73e6b573-abf8-4407-9e5f-8a85a4a95159'&startrow=0&rowLimit=100
    You can refine the query, be giving proper 'querytext'
    2) Use the List rest api
    For example if your list guid is :38d524a1-e95c-439f-befd-9ede6ecd242e
    You can get he attachments for 1st item using this 
    http://[Site URL]/_api/lists(guid'38d524a1-e95c-439f-befd-9ede6ecd242e')/items(1)/AttachmentFiles
    get2pallav
    Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

  • Getting host name from applet

    Hi All,
    How can i get the local host name from applet ( Host name where the applet running) . While i tried with InetAddress i got only the loop back address 127.0.0.1. Can anyone help me out in this regard.
    Thanks in advance
    V.S.Saravanan

    When you say you tried the InetAddress, did you try the following?
    You could try creating a Socket connection back to the host/server URL from where the Applet was downloaded (you should have permission to do this). You can then get the local address of the Socket.
    Something like:
    String hostName = getCodeBase();
    Socket s = new Socket( hostName, portNum );
    InetAddress address = s.getLocalAddress();
    String hostName = address.getHostName();
    Eric

  • 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

  • Getting login names of the users.

    Hi,
    Does anybody have an idea of getting login names of the user present in the plumtree.

    IPortletContext edk = PortletContextFactory.CreatePortletContext(Request, Response);
    IPortletUser IUser = edk.GetUser();
    userName = IUser.GetUserName();

  • On start up I get the message "C:\users\login name\Appdata\local\temp\225704Log.in iiss Lost"

    on start up I get the message "C:\users\login
    name\Appdata\local\temp\225704Log.in iiss Lost"
    I've gorn though so many discussions on this trying to fix it I've
    do everything and it is still poping up every time i turn my desktop on what do i do?

    Hi,
    The suggestion provided by Maffiow is worthy to try. Msconfig can tell you some on things loaded on startup. Do any of the items listed refer to that file?
    In addition, it states that your windows 7 is missing some system files. And definitely it would be some important to file to your windows. You better check it with performing a Clean Boot.
    How to perform a clean boot to troubleshoot a problem in Windows 8, Windows 7, or Windows Vista
    http://support.microsoft.com/kb/929135
    The path which you have shown here is a path for temporary file. I think there will be something wrong with your system temp folder. For this Clear the redundant files in temporary folder. You can do this by performing the following steps.
    a. Restart the computer to Safe Mode.
    b. Click Start and click Control Panel.
    c. Click Classic View and choose Folder Options.
    d. Click View tab, choose Show hidden files and folders box, click Apply and click OK.
    e. Click Start -> Computer.
    f. Go to C:\Users\your user name\AppData\Local\Temp folder.
    g. Select all files in the Temp folder and delete them. Click Yes when prompted.
    h. Restart the computer to Normal Mode for a test.
    Hope it helps.
    Regards,
    Blair Deng
    Blair Deng
    TechNet Community Support

Maybe you are looking for

  • Selling on Oracle support services

    Hi Everyone My name is Ajit. I'm new to this forum. Infact I'm new on the Oracle Technology. I've just joined a company which provides support services on Oracle technology. We focus on RDBMS right now and we are also an Oracle Partner. I'd like to k

  • Character Encoding in C++

    We work under WinNT(SP4) with MS DevStudio 6.0. We take the DOM-class from ORACLE. What can I do to encoding Character ? I put line <?xml version="1.0" encoding="ISO-8859-2"?> in the XML-Header, but the oracle-parser say 'LPX-00201'. I also test XMLS

  • App scaling to screensizes on Android but not on iOS

    Hi, I am creating an app with AS3 for Android and also for iOS. Due to the different smartphone sizes it is necessary to scale the apps to the appropriate screens. Developing for Android that seems to work OK. The code I use for this on Android howev

  • Youtube videos becoming green and still image?

    I started watching some videos and after 10 minutes, what i could see was a green still image... Thought that this was not something that i should not worry about, but today it happened again! Now, i cannot watch any video. P.S. if that helps, i trie

  • Translator.jar file reference in bin/ott in 10gR2 and 10.1.0.4

    I was wondering if anyone has noticed if the invalid translator.jar path in the ott file created during the Oracle Server install has been corrected in R2? I believe there was an unpublished bug 3360534 to correct the invalid reference, but wasn't su