Home » Developer & Programmer » Forms » Windows username And Password?
Windows username And Password? [message #255264] Tue, 31 July 2007 04:09 Go to next message
mudabbir
Messages: 235
Registered: April 2006
Location: Kuwait
Senior Member

How do i get Windows login information . Username and password in forms 6i

i am using D2KWUTIL.PLL to get the windows username. any ideas on how to get the passwords also?
icon3.gif  Re: Windows username And Password? [message #255269 is a reply to message #255264] Tue, 31 July 2007 04:30 Go to previous messageGo to next message
azamkhan
Messages: 548
Registered: August 2005
Senior Member
Use the GET_APPLICATION_PROPERTY...
Re: Windows username And Password? [message #255281 is a reply to message #255269] Tue, 31 July 2007 04:54 Go to previous messageGo to next message
mudabbir
Messages: 235
Registered: April 2006
Location: Kuwait
Senior Member

get_application_property will get me the username and password connected to the database. i need the WINDOWS username and password. which the user uses to log into the network.
Re: Windows username And Password? [message #255320 is a reply to message #255281] Tue, 31 July 2007 06:58 Go to previous messageGo to next message
Littlefoot
Messages: 20901
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
You can get OS username (in SQL*Plus - I don't have Developer 6i to test it, but you might try) using
select sys_context('userenv', 'os_user') from dual

Password? Shouldn't that be confidential? Even if not, I'm sorry, I don't know how to get it.
Re: Windows username And Password? [message #255325 is a reply to message #255320] Tue, 31 July 2007 07:19 Go to previous messageGo to next message
azamkhan
Messages: 548
Registered: August 2005
Senior Member
yes it is working
Re: Windows username And Password? [message #255336 is a reply to message #255325] Tue, 31 July 2007 08:29 Go to previous messageGo to next message
mudabbir
Messages: 235
Registered: April 2006
Location: Kuwait
Senior Member

Quote:
i am using D2KWUTIL.PLL to get the windows username. any ideas on how to get the passwords also?


I already know how to get the windows username. i needed to know how to get the windows user password.

Anyways i have found another way to go about my issue with out the usernames and passwords...

Thank you all for the time and effort in helping me.

Mudabbir
Re: Windows username And Password? [message #255388 is a reply to message #255336] Tue, 31 July 2007 11:31 Go to previous messageGo to next message
Littlefoot
Messages: 20901
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
In that case, it would be polite to share the answer with the rest of the community.
Re: Windows username And Password? [message #255468 is a reply to message #255388] Wed, 01 August 2007 00:34 Go to previous messageGo to next message
mudabbir
Messages: 235
Registered: April 2006
Location: Kuwait
Senior Member

The reason i needed the username and password was because i needed to send emails from my applications. I had a procedure in which i needed to put the windows username and password for authentication... with the new procedure i have the application doesnt need windows authentication.... i found the new procedure in one of the forums here... thank you all...

mudabbir
Re: Windows username And Password? [message #255541 is a reply to message #255468] Wed, 01 August 2007 02:57 Go to previous messageGo to next message
Littlefoot
Messages: 20901
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
A link to that topic would also be nice.
Re: Windows username And Password? [message #255575 is a reply to message #255541] Wed, 01 August 2007 04:19 Go to previous messageGo to next message
mudabbir
Messages: 235
Registered: April 2006
Location: Kuwait
Senior Member

I found the code at the below link

http://www.orafaq.com/forum/m/78914/84678/?srch=send_email#msg_78914

Mudabbir
Re: Windows username And Password? [message #255577 is a reply to message #255575] Wed, 01 August 2007 04:20 Go to previous message
Littlefoot
Messages: 20901
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Thank you!
Previous Topic: nested decode
Next Topic: Get Cursor Values into Variables
Goto Forum:
  


Current Time: Fri Dec 09 17:38:27 CST 2016

Total time taken to generate the page: 0.40653 seconds