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.comwww.prenia.comWeblog: blogs.prenia.com/cathi