Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Username password
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00730489
Message ID:
00730496
Views:
17
Randy,

System.Environment.UserName class is what you use to retrieve the username. However, for security reasons, there is no way to retrieve the user's password.

>is there any way I can access the Windows2000 or WinXP username and password for the current user via VB.NET? I think I can use System.Environment.UserName to get the username, but I don't see anything to retrieve the password. TIA.
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform