On a laptop running Win 98, in the userlist, there is a user 'Abc' and a user 'Xyz'. If you log into Windows as 'Abc' and then log into the network as Xyz' then lcEmpID = 'Abc'. I thought WScript.Network will return the user logged on to the network, not the user logged on to Windows. Anybody knows what am I missing? TIA