|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
how to get the NT authentication user and password with python??
How do I get the NT authentication user and password with python?? I need it to access SQL 2000.
thanks in advance, Kyle |
|
#2
|
||||
|
||||
|
win32api.GetUserName() will get you the current logged in user. Not sure how you'd get the password though.
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month |
|
#3
|
||||
|
||||
|
Hehe, the simple answer would be to make your Python script ask for the password
![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > how to get the NT authentication user and password with python?? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|