Retrieve username, Password and current database

hi all,
when i m logged in oracle, how can i from PL/SQL get the current user name and the password and the current database. i want this because i wrote a proc with many parameters and to hold the count of this parameters small i thought that the proc retrieve automatically this Infos about the caller (which is the current user).
is there any way to do this??

you will get encrypted password with current user by query 1 Can you explain how?
SQL> show user
USER is "SYS"
SQL>
SQL> select username,password from encrypted_users where username in (select user from dual);
select username,password from encrypted_users where username in (select user from dual)
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> select * from dba_objects where object_name = upper('encrypted_users') ;
no rows selected
SQL> select * from dba_objects where object_name like '%'||upper('encrypted%users')||'%' ;
no rows selected
SQL>

Similar Messages

  • I run Dev 6i on Windows 2008 R2 64-bit,the forms are working fine after connection to the database but the reports continue to request for username, password and database connection string every time i try to open a report.

    I receive REP-0501: Unable to connect to specified database. I run developer 6i application on windows 2008 r2. I have applied the nn60.dll and nnb60.dll files to the \BIN directory. The forms are working fine. The reports will only display after the correct user id (username, password and database connection string) is supplied. This is happening to all attempts to open already complied form. Pls, help.

    If you are connecting to an Oracle 11g database, remember that by default the passwords are case sensitive. To disable that, run
    ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE;

  • Discoverer default username, password and database??

    Hello,
    I had posted this in the wrong forum so I am posting this again over here...
    I installed the trial version of the Oracle Discoverer Desktop on my machine. What is the default username, password and database that should be used to connect to discoverer?
    Thanks

    As far as I know, there is no such thing as a default user/password and/or database for Discoverer.
    The database could be any database you like, for example one that you have on your desktop. Then you should first create a user to own the EUL, grant required privileges to that user (see manual), start Discoverer Administrator, create the EUL, fill the EUL with whatever you like, grant access to it to the user you want to use, and THEN then can start Discoverer Desktop and start working...

  • What are the username, password and connect string for Designer 6.1.1?

    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Server name
    - Filename
    Oracle designer6.1.1
    - Date/Time
    - Browser + Version
    IE 6.0
    - O/S + Version
    Win 98
    - Error Msg
    ORA-12154:TNS:could not resolve service name.
    RME-00220:Fail to connect to repository
    These error messages were shown after I entered system, manager and internal, respectively.

    Hi YungJen Chen,
    There is no general username, password and connect string for
    Designer 6i Release 4.1.1.
    First, you install the client tools using the Installer. See also the
    Designer Installation Guide, Chapter 1, 'Client Side installation'.
    Second, you install the repository into an existing database, using
    the Designer Installation Guide, Chapter 2, 'Server-side installation,
    migration and upgrade'.
    The Installation Guide provides step by step instructions on what
    users you need to create for various purposes. Any database users
    you may need to use such as System or Sys will use the password
    given when you installed the database, or whatever passowrd you
    changed it to since.
    The Installation Guide is available as part of the download, or from
    your Windows Start Menu once the Designer client tools are installed
    or from the Designer Documentation page here on OTN.
    Hope this helps. Regards,
    Dominic Battiston
    Designer/JDeveloper Product Management

  • What are the username, password, and connect string for Designer6i R4.1.1

    As the title, I tried system, manager and internal.
    But it did not work out.
    Thank you for your help.

    Hi YungJen Chen,
    There is no general username, password and connect string for
    Designer 6i Release 4.1.1.
    First, you install the client tools using the Installer. See also the
    Designer Installation Guide, Chapter 1, 'Client Side installation'.
    Second, you install the repository into an existing database, using
    the Designer Installation Guide, Chapter 2, 'Server-side installation,
    migration and upgrade'.
    The Installation Guide provides step by step instructions on what
    users you need to create for various purposes. Any database users
    you may need to use such as System or Sys will use the password
    given when you installed the database, or whatever passowrd you
    changed it to since.
    The Installation Guide is available as part of the download, or from
    your Windows Start Menu once the Designer client tools are installed
    or from the Designer Documentation page here on OTN.
    Hope this helps. Regards,
    Dominic Battiston
    Designer/JDeveloper Product Management

  • What to Enter in Username,Password and Host String in SQL Plus 8.0??

    I downloaded Oracle Forms,Reports 6i.Along with it I got SQL Plus 8.0.Following
    are not working
    Username:scott
    Password:tiger
    Host String:Empty
    or
    Username :system
    Password:manager
    Host String:Empty
    I want to Know what to enter for Username,password and Host String.If i want to look in the TNSNAMES.ORS Plz Tell What to look for in it.

    Developer 6i is a client software, not database server. Ask the dba of the database, you are trying to connect, for valid userids/passwords/hoststrings.
    Werner

  • How do I retrieve my password and Id if I forgot or lost the hard copy file?

    How do I retrieve my password and Id if I forgot or lost the hard copy file?

    If you can't remember your ID, you can try to find it as explained here: http://support.apple.com/kb/HT5625.  If you find the ID, you can then reset the password as explained here: http://support.apple.com/kb/HT5787.

  • ORA-01017: invalid username/password; logon denied - Database Link

    Hi Guys,
    Could you help me, I have a problem connecting to another database using the database link:
    *1. I added in tnsnanes.ora of "client" database DEV2*
    DEV =
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.100.85)(PORT = 1521))+
    +(CONNECT_DATA =+
    +(SID = DEVDB)+
    +)+
    +)+
    *2. I tested my connection using tnsping*
    oracle@dev> tnsping dev
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 10-JUL-2010 14:35:35
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    +/opt/oracle/product/10.2/db_1/network/admin/sqlnet.ora+
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.100.85)(PORT = 1521)) (CONNECT_DATA = (SID = DEVDB)))
    OK (0 msec)
    oracle@dev>
    *3. In SQLPLUS of DEV2 I connect to my database using the tnsnames entry*
    SQL> conn devuser/pwd001@dev
    Connected.
    *4. I then create a database link.*
    SQL> Create Database Link dev_Link
    +2 Connect to devuser+
    +3 identified by pwd001+
    +4 using 'DEV';+
    Database link created.
    SQL>
    *5. When I try to connect to the database using the database link I get an error, but I am very sure the username ans password are ok.*
    SQL> select * from global_name@dev_link;
    select * from global_name@dev_link
    *+
    ERROR at line 1:
    ORA-01017: invalid username/password; logon denied
    ORA-02063: preceding line from DEV_LINK
    SQL>
    What could be wrong......??

    4. I then create a database link.
    SQL> Create Database Link dev_Link
    2 Connect to devuser
    3 identified by pwd001
    4 using 'DEV';create DATABASE LINK USING <connect-string>
    your sid is DEVDB so create dblink using oracle_sid
    If you specify only the database name, then Oracle Database implicitly appends the database domain to the connect string to create a complete service name. Therefore, if the database domain of the remote database is different from that of the current database, then you must specify the complete service name.
    Edited by: rajeysh on Jul 10, 2010 7:28 PM

  • LDAP - Retrieve username & password

    Hi,
    I want to retrieve the username and password from LDAP server for the respective userId which is passed as an input. I am using javax.naming security package in java (1.6). Please help me how we can go about this? any examples or links are really appreciated.
    Thanks.

    You can use DBMS_LDAP to query Active Directory
    http://docs.oracle.com/cd/E23943_01/oid.1111/e10186/dbmsldap_ref.htm#OIMAD009
    I am not sure if you can retrieve a password; as this would be a huge security flaw I guess the answer to that is no. But you can use dbms_ldap to authenticate against Active Directory.
    Samples can be found on google:
    http://www.google.com/search?q=dbms_ldap+sample
    cheers

  • Vendors username password and Rfx awarding

    Hi,
    Where or in which table can i find the username, password for the vendors?
    Also how can I verify if an Rfx can be awarded to multiple vendors and does it send an email?

    Where or in which table can i find the username, password for the vendors?
    should be in one of vendor users table. Passwords are not generally stored if users are authonticated through LDAP
    Also how can I verify if an Rfx can be awarded to multiple vendors and does it send an email?
    Depends on the version you are currently on. Please refer system and user documentation guide supplied with your current version of E-Sourcing.
    Good Luck

  • Forgot username/password and my email has been del...

    Hello! I have a skype account with an email i used to have (it's been deleted) and I can't find the username and password.The skype account is still active by the way,i just can't log in cause i don't have the username/password.Is there an other way (except email) to find out the password/username?
    Solved!
    Go to Solution.

    Whitout access to the registred email, I guess contacting customer service is your only option However, if you can't remember the username or other details that can tie you to the account, getting the account back might be difficult. If you have previously used Skype a computer you have access to, the %appdata%\skype folder will contain a folder with the same name as your username (and all others that have used the same computer logged in as that user).
    https://support.skype.com/en/faq/FA1170/how-can-i-contact-skype-customer-service?frompage=search&fro...

  • My blood pressure must be up to a dangerous level. Whenever I try to log in to itunes they give me a very old email address. I did retrieve the password and made it the same as my usual email address but apple keeps insisting that the password is wrong  f

    Itunes does not accept my password anymore since upgrading phone. They give me my very old email address. I retrieved that account and changed password accordingly. Apple said it was changed correctly, but itunes will not accept it.Please help

    They give me my very old email address.
    How old  it is  does not  matter IF  thats what Apple have as your  user ID and if  Apple have advised  you its OK and it is not... then you need to deal with support  where  ID information is causing problems.

  • I have my username, password, and sync key but I cannot click the next button to complete the sync setup?! Neither the next button nor the cancel button press?!

    I try to setup my sync account with Ubuntu 13.10 and I am able to enter my user name and password and recovery key but the next button will not click and neither will the cancel button. Only the back button, sync options button, and the x at the top of the screen are functioning?

    Did you enable the Side Bar?
    Select "Show Side Bar" from the "View" menu of iTunes.

  • Username & Password for Demo database???

    I have downloaded and installed Oracle 9i but cannot open the Demo database in Enterprise Manager because I cannot find the username and password anywhere. Help!
    Thanks.

    Bill,
    Also you can try this,
    User Name : scott
    Password : tiger
    Thanks,
    M M Sheriff

  • JSP-MySQL user login with username, password and registration

    Hi everyone:
    i need to create a simple jsp client login with username and password. There is also a registration link for those not register yet.
    I m using tomcat and MySQL and have already create a client login with username and password page.(record already in database).
    I m now have no idea on how to create a registration link, ie update the database. please help..the examples i search through google were build by Jboss, strut, ApacheGeronimo which i m not familiar with.
    Is it any "package" or "wizard" available in creating the login and registration page? Most of the webpage has build with user login and registration part, may i know how they "create" them?
    Please help.. Thanks in advance!

    hi,
    You can use tomcat5.5 for this. you can get help from the following link.
    http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
    If ur registrantion page is RegistrationPage.jsp then u can write it:
    <a href="RegistrationPage.jsp">Registration Page </a">For Registration page u have to use session & for u can search this in javaworld.com site. MAy from this u will get ur solution

Maybe you are looking for

  • Anyone else's ESPN widget just stop working?

    Happened a few days ago... Friday maybe? And it's still screwed up, showing just "unable to read news"

  • Web WMV files crash safari

    I installed Flip4Mac on my computer. Later, I upgraded to QT Pro. Now, when I try to view web embedded WMV files in Safari, the program crashes. Does anyone know why this might be happening? I didn't like QT Pro so I don't need/want it. I tried throw

  • Question about:Job Pricing & Basic Pay Range Restriction...

    Hi Experts, I did servral settings to acheive Basic Pay Range Restriction(Warning) which uses Job Pricing concept: 1-Define Pay Grades And Levels     In this step, I build a records to describe a payment range for  certain evaluation points 2-Create

  • Importation des fichiers pdf

    Bonjour ! Tous les fichiers pdf que j'importe de mon ordinateur ne s'affichent pas sur Adobe Acrobat.com. Il en manque toujours après importation. Merci de votre aide.

  • Can't reinstalling iWork's 09 on lion

    After installing a bigger  memory in my MacBookPro, LIon (from Mid 2010) everything works except iWorks and iLife. Even after reinstalling iWorks in won't open correctly, although the icons are visible in the Dock. Why can't I get it back?