Capture Windows Login Name

  • Thread starter Thread starter Joseph
  • Start date Start date
J

Joseph

In a Winform application using VB.Net is there a way to capture the user's
Windows login name? Any help would be greatly appreciated, thanks.
 
Joseph said:
In a Winform application using VB.Net is there a way to capture the user's
Windows login name? Any help would be greatly appreciated, thanks.

System.Environment will provide you with a lot of system information.
you might take a look at Environment.UserName.

greets,
J. Blauth
 
In a Winform application using VB.Net is there a way to capture the user's
Windows login name? Any help would be greatly appreciated, thanks.

That should be:

System.Environment.UserName



Thanks,

Onur Güzel
 
Joseph said:
In a Winform application using VB.Net is there a way to capture the user's
Windows login name? Any help would be greatly appreciated, thanks.

'Environment.UserName', 'SystemInformation.UserName'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top