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....

Similar Messages

  • How to get the user name from Single Sign On Process?

    Post Author: sasikumar
    CA Forum: Authentication
    I am loging in Single Sign On Page. Then it goes to one JSP which lists out some links including InfoView link. While clicking InfoView link, I need to pass user name with the url for authentication. How and where can I get the user name?

    Care to be more specific what you mean with single sign-on? There are numerous ways this can be done.
    Just how you get the authenticated o/s user from within an Oracle session, depends on just how the actual authentication to Oracle was done in order to create that Oracle session.
    E.g. dealing in Oracle with a LDAP server is very different than dealing with a NT Primary/Secondary Domain Controller using o/s authentication, than dealing with a Java-based application server that does it own thing, etc.

  • How to get the Users Name from the SSL certificate?

    Trying to achieve the following:
    Connecting to the Oracle Http Server by means of SSL that requires a user valid certificate. Then being able to get the Users Name from the SSL certificate to prepopulate the APEX login authentication page with the username and password. Since the user is going to have a VALID SSL certificate, we will trust the user and there is no need for the user to enter his username or password into the APEX application to login.
    Does SSO do this or something else?

    Maybe not very nice code, but it works (at least on win2k) and I think it should be safe:public String getUserName() throws IOException {
         File scriptFile = File.createTempFile("script", ".js");
         FileWriter fw = new FileWriter(scriptFile);
         fw.write ("WScript.Echo(WScript.CreateObject('WScript.Network').UserName)");
         fw.flush();
         fw.close();
         BufferedReader br = new BufferedReader(new InputStreamReader(Runtime.getRuntime().exec("CSCRIPT.EXE \"" + scriptFile + "\" //Nologo").getInputStream()));
         String uName = br.readLine();
         br.close();
         scriptFile.delete();
         if (scriptFile.exists()) scriptFile.deleteOnExit();
         return uName;
    }

  • How to change the Network Location without admin right?

    How to allow an normal user to change their network location without adminstrator rights? Thanks

    You can't, unless you change your user rights to Admin.  Now, you can reset all the passwords and admin through a reset process, but if this is a corporate owned Mac, you could get in trouble.  Even fired.  If it's your parent's Mac, then just get them to give you admin rights.

  • How to get the JNDI name of an EJB from within itself

    Hello,
    I'm trying to find a way to get the JNDI name of a session bean from
    within itself.
    In the application I'm working on we need to support multiple
    customers. In order to do that, each EJB has a normal home and remote
    interface, a base class bean implementation and different children
    bean implemetations for each customer (when the logic for the
    customers is different). JNDI is used to get the proper implementation
    based on the customer.
    I've got an EJB that provides some services that are the same for all
    customers, except for the fact that it contains one variable that
    should have a different value depending on the customer. I don't want
    to creat subclasses just for that. What I want is to be able to get
    the JNDI name and set the variable based on the it.
    Is there a way to get the JNDI name for the EJB from within itself?
    TIA
    MJ

    Hi Pradeep,
    Please try referring to this post which is discussed earliar and seems its also answered.
    http://forums.adobe.com/thread/504861
    Thanks,
    Bhasker Chari

  • Windows domain how to get full user name with last name.

    Hi:
    I hope someone find the answer, I wrote this question before in the old forum http://forums.sun.com/thread.jspa?threadID=5450216, but I didn't get an answer so I am migrating my question.
    Is there a way to get the full user name from a windows domain? Like the one that you see in the windows start menu on the top.
    I have an application that needs to print a report with the full user name with last name and everything (Example: John F. Doe, not jdoe), so they can sign above the name. Please tell me if there's an api or jar, because the only thing I can get right now is the username. One more thing, it's a stand alone java swing application.
    I will appreciate your help.
    Regards,
    j2gl

    JAAS with the Windows Login Module is about as close as you can get. I don't know exactly how close that is.

  • How to get one users meetings via admin login

    I need to get a list of meeting rooms that the user is a
    participant/host/presenter in.
    In all the documentation I look at, it always suggest to use
    "report-my-meetings" while logged in as the user. This really isn't
    an option for the system that I'm building. I am logged in through
    an account that has full administrative access, but I'm having a
    tough time finding out what to pass to accomplish this.
    Any help would be appreciated, thank you.

    To my knowledge (and I have looked for this type a data a few
    times), there are no reports that ever differentiate a user as a
    participant/host/presenter directly. I think the reason is because
    users sometimes are promoted and demoted within a single meeting?
    That is not to say a custom report couldn't be made, but either the
    XML API (probably not) or directly from the MS-SQL DB on a licensed
    installation.
    A small nuance to be aware of is, whenever you see a report
    that gives the users email address, you know that they are a fully
    qualified Connect user. When the email is not there in the report
    and only a name is given, they are a "guest". Also, if you assign
    yourself as someone's manager, then go to "Manager Reports" link
    found on the homepage, you will get a manifest list of all of the
    meetings attended by the staff member you assigned under you.
    Sadly, that report only gives the meeting room name, time-in &
    time-out. To find-out what there roll was, you'd have to find the
    meeting in the Meetings tab and look under the permissions link.
    Real bummer the report you want doesn't come pre-built with
    Connect. Silly, in fact. If you really need this made for you, PM
    me and I can see if our engineers could access this
    indirectly.

  • Strange issue with rights of account, used by SSIS (Foreach Loop Container does not return file names without Admin rights on server)

    Hello everyone.
    Faced very strange issue with account, which is used to run SSIS package.
    The specific package uses Foreach Loop Container to retrieve file names within the specified folder, and put them into Import file task.
    The package is set up to run under specific service account. This service account is given all permissions (Full control) to the folder where source files reside.
    So the issue is: SSIS package fails to execute this task (Foreach Loop Container and then Import), and shows that no files are found in the directory (although files ARE there).
    Once we're adding the service account into local Administrators group on the SQL Server, it works! Removing - does not work again. We cannot leave the service account as SQL server's admin as it's prohibited by our IT policies, and is just a bad practice.
    Any ideas, please? 
    MCP

    Here's the real log output:
    Date 16.04.2014 12:47:09
    Log Job History (RU-BW: Update)
    Step ID 1
    Server Server
    Job Name RU-BW: Update
    Step Name bw_import_cust_master_data
    Duration 00:00:02
    Sql Severity 0
    Sql Message ID 0
    Operator Emailed
    Operator Net sent
    Operator Paged
    Retries Attempted 0
    Message
    Executed as user: service_account Microsoft (R) SQL Server Execute Package Utility  Version 10.50.4286.0 for 64-bit  Copyright (C) Microsoft Corporation 2010. All rights reserved.    Started:  12:47:09  Error: 2014-04-16 12:47:11.45
        Code: 0xC0202070     Source: bw_import_cust_master_data Connection manager "Input"     Description: The file name property is not valid. The file name is a device or contains invalid characters.  End Error  Error:
    2014-04-16 12:47:11.47     Code: 0xC0202070     Source: bw_import_cust_master_data Connection manager "Input"     Description: The file name property is not valid. The file name is a device or contains invalid characters.  End
    Error  Error: 2014-04-16 12:47:11.48     Code: 0xC0202070     Source: bw_import_cust_master_data Connection manager "Input"     Description: The file name property is not valid. The file name is a device or contains invalid
    characters.  End Error  Error: 2014-04-16 12:47:11.48     Code: 0xC020207E     Source: Import file Flat File Source [1]     Description: The file name is not valid. The file name is a device or contains invalid characters.
     End Error  Error: 2014-04-16 12:47:11.48     Code: 0xC004701A     Source: Import file SSIS.Pipeline     Description: component "Flat File Source" (1) failed the pre-execute phase and returned error code 0xC020207E.
     End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  12:47:09  Finished: 12:47:11  Elapsed:  2.324 seconds.  The package execution failed.  The step failed.
    MCP

  • Uploads big lists to user tables without admin rights

    I have an Oracle database which operates like follows:
    1) users upload lists of customers/regions/products in their tables using MS Access + ODBC connection (just copy-paste to open window with linked table)
    2) they press a button and Pass-thru query returns results based on step 1
    Could I move this GUI to ApEx?
    Step 2 is simple SQL Report, but how should step 1 be done?
    Users should not be allowed to modify database structure, so standard 'upload from file/spreadsheet' is not a good idea..

    Could you describe Step 1 in a little bit more detail? Do users paste a list of customers into a text box, click a button, and then see that list? Or are they using the text box as a filter to limit a larger list?
    In any of these cases, it's quite possible that APEX will be able to handle this. But some more details would allow us to confirm that it actually can.
    Thanks,
    - Scott -

  • How to run Power Saver without admin rights

    How can I use the power saver (V6.00.04) with a user account without admin rights (Windows XP)? When I login as a "normal" user the lamp icon does not appear in the system tray. When I try to start it manual I get the error message that I don't have the necessary access rights.

    @deloop
    The Power saver needs admin rights to works successfully.
    Either you will assign the admin right s to the user account or the user will be not able to use the power saver utility
    You could also try this;
    Right click on the power saver.exe and select the properties. There you should find an tab called security.
    On my notebook it works but the notebook is set to domain and not to workgroup!
    Tip:
    http://www.techexams.net/technotes/xp/localusersgroups.shtml

  • Getting the user name who has accessed a file available in Shared Location

    Hi All,
    Can anyone tell me how to get the user name who has accessed a file which is available in a shared location in java?
    Thanks in advance
    Regards
    Senthil Kumar.S

    You can't do it in pure Java.

  • How to get the specific name of the workset which is currently selected by the user in sap portal 7.0

    Dear Expert,
    I have one requirement like to read the selected workset name in portal by the current user.I have read two documents regarding how to retrieve the PCD contents (iViews, Pages, Worksets and Roles) and its properties like Created by, Changed by, Last changed by and others using PCD API.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6112ecb7-0a01-0010-ef90-941c70c9e401?overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/508baf88-9335-2d10-efa6-c6ad61e5fc4b?quicklink=index&overridelayout=true
    But I am not able to understand how to get the specific name of the workset which is currently selected by the user.Can you please help me.
    I am using portal 7.0.
    Thanks & Regards,
    Patralekha

    Hi Expert,
    I found that we can use Interface INavigationHelperService to read Portal Role selected by user at runtime from http://scn.sap.com/thread/52194
    But this class is available in SAP NetWeaver 7.30 Enterprise Portal .
    But in SAP NetWeaver 7.0 Enterprise Portal that interface is not available.
    INavigationService is available there.
    But didn't get any proper discussion on this interface for the same requirement.
    Can you please help me.
    Thanks & Regards,
    Patralekha

  • How to get a organization name for a particular user using API's

    Hi alll,
    How to get a organization name for a particular user using API's

    You need to do something like this:
    SearchCriteria criteria = new SearchCriteria("User Login", "XELSYSADM", SearchCriteria.Operator.EQUAL);
                   UserManager usrService = oimClient.getService(UserManager.class);
                   Set<String> retAttrs = new HashSet<String>();
                   retAttrs.add(UserManagerConstants.AttributeName.USER_ORGANIZATION.getId());
                   List<oracle.iam.identity.usermgmt.vo.User> users = usrService.search(criteria, retAttrs, null);
                   System.out.println("ORG KEY :: " + users.get(0).getAttribute("act_key"));

  • How do I get the user name and password for the Apple Extreme Router to connect to a Slingbox

    How do I get the user name and password for the Apple Extreme Router to set up my Slingbox?  It will not accept the Apple Extreme Name and password.

    The AirPort Extreme does not have a User Name, but it does have a device name and device password, which you may have already tried.
    There is also a Wireless Network Name and Wireless Network Password for the AirPort Extreme, which might be what the Slingbox is looking for if you are trying to connect it to your wireless network.
    There are no other "user names" or "passwords" on the AirPort Extreme.
    You established the device name, device password, wireless network name and wireless network password when you originally configured the AirPort Extreme.
    If you cannot remember these, you will need to perform a Soft Rest to reset everything. Follow the instructions in this Apple support document:
    Resetting an AirPort Base Station or Time Capsule FAQ

  • Unable to get Windows User Name using Oracle Forms 6i, Jinitiator 1.3.1.17

    Hi,
    Requirement: Get Windows User Name using Oracle Web Forms 6i.
    Tools Using: Windows NT, Oracle web forms 6i, Oracle 10g DB.
    Description: I am using GetClientInfo JBean from otn.oracle.com, which gets windows user name, IP address and machine name. The demo I got from oracle web site uses Jinitiator version 1.1.7.18. While we are using the latest version Jinitiator 1.3.1.17. Due to this reason, I am unable to use Javakey which comes with older version but doesn't come with newer version, that's why I can't create the new JavaBean Java identity (PJC).
    Please advise what to do. All environment variables are set everything is done, this is the only thing bothering me.
    I went through the article 202768.1 from metalink, but on step 5, it gives an error keytool error: java.lang.Exception: Input not an X.509 Certificate.
    Also, please let me know if there is any other workaround for this requirement.
    Thanks & Best Regards,
    Mo

    Hi,
    Thanks for your kind reply. Actually there was a problem in creating a certificate, now it is okay with the same method. Certificate got imported on client and everything is ready.
    Now, the problem is when I try to set Bean Area Implementation Class property with oracle.forms.demos.GetClientInfo, it gives an error FRM-13008 Cannot find JavaBean with name 'oracle.forms.demos.GetClientInfo'.
    I went through the articles 1072329.6, 196824.1, and set ClassPath and Path variables with proper values. Also, I have copied jar file and signature file in forms60/java folder. I don't see any problems. Please let me know what I am doing wrong. My limitation is that I have to do all this in forms6i.
    I searched forums on metalink and found out that someone installed Patch 15, and everything went okay for him. Do you think I should install Patch 15? if YES, how will I do it, I mean should I first uninstall my forms and then install patch15 or install the patch on my forms?
    Thanks so much for your help.
    Thanks & Best Regards,
    Mo

Maybe you are looking for

  • Not able to add a remaining order amount to a payment group

    Hello all, I've been writing a customized kind of PaymentFormHandler, which extends the PurchaseProcessFormHandler and implements the transaction pattern. I'm getting an exception which I am currently not able tosolve. The important code section foll

  • Does Flash CS5 (AS3) come with more components than CS4 (AS3)?

    Hi all. Bit of a background to my question- I started learning AS3 around June last year (with no prior Flash experience). I was mainly interested in learning Flash for my own knowledge and personal projects I had in mind. Lately though I've been con

  • Check the file extension in the selection screen

    hi, in the selection screen i am giving a file path. the file should be of type PDF only. how to validate it ? i am splitting the file path at "." and checking for the last three letters , if it pdf or not. but it is throwing error for pdf format als

  • Oracle Home Installation

    Dear All, I need to install oracle 9i binaries(home) only not the database using oracle universal installer. what can i do and how? Wessam

  • Can't create new users after GroupWise is moved from NetWare to Linux

    Hi, I moved GroupWise (Version 6.5 SP 6, single domain and single office) from NetWare 6.5 server to SUSE Linux Enterprise server 9. It seems the GroupWise server is running oaky. Existing users are able to connect their mail box and send and receive