>Wow--I'd been looking for a while and right after I posted this msg I think I found it--SYS(0). If anyone knows of another better one please let me know.
>
As long as all you need is the Windows login ID, SYS(0) or the WSH Wscript.Network's UserName and UserDomain properties are fine; if you need to get the identity used to connect to a specific network resource, you'll need to use some API calls.
>JR
>
>>I have a client who's on W2K server. They want to create an audit trail in a program I wrote for them, which records user name. However, they don't want to have to have a log-in screen in the program I made (the network log-in is sufficient).
>>
>>How can I interrogate W2K to get the user name in VFP6?
>>
>>JR