Set WshNet = WScript.CreateObject("WScript.Network")
NTId = WshNet.UserName
This works fine when logged in locally on the LAN.
However, it returns the local PC's user id when run on a PC when connected
to the network via a Microsoft VPN connection (PPTP). This may or may not
be the same as the NT Id.
How do I get the NT Id when connected via VPN?
JPL