>How do I capture the logged in (current) username say from NT from within a VFP applicatiion?
>
You can extract it from SYS(0) - everything to the left of the "#" is the NetBIOS machine name, and everything to the right is the Windows user name. There are also several API calls you can use that are discussed in the FAQ here on UT (advisable if you need the username relative to the login used to access a shared resource rather than the Windows user name) and the Wscript.Network has a UserName property as well.