Unless you really need to use the API, SYS(0) returns the machine name and the user name.
Cheers,
Andrew
>Im sure this must have been posted before but I couldn't find it.
>
>Would someone tell me the api that can be used to get the
>whoami type of info under NT and windows.
>
>
>Thanks
>
>Chris
If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?
From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."
All my FoxTalk and other articles are available on my
web site.
Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.