>I am currently on NT. I would like to retrieve the network login Id, rather than asking for the user to login an additional time in a new login to get access to the system. What I have to use or make?
There are several ways to do this - you can use the Win32 API call GetUserName() to retrieve the user name, or get the same information through an ActiveX control (for example, the Windows Scripting Host's Wscript.Network object.) And the second part of the return from SYS(0) after the "#" gives the userid used to login to the system.