How to get the current logged in username

R

rich

Hello,

I am trying to find out how to get the username of the user currently logged
in on a computer. The user can be logged into a Windows/AD domain or logged
in locally. I just need his username.

Can anyone help me or point me to a simple solutio?

TIA,

Richard
 

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

Top