Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you determine LogonID for WIN2000/NT User?

Status
Not open for further replies.

hazlehurstga

Programmer
Sep 4, 2003
19
0
0
US
Hi,
Is there a built-in function available in MS VBA that will provide the LogonID of a user connected to a WIN 2000/NT network? Thank you.
 
Environ("USERNAME")

This will (as the name implies) get you the username as a string.

- Good luck, CJ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top