>>>>I need to be able to find the user name a person has used to login onto Windows 2000 Server from within a FoxPro application.
>>>>
>>>>Is there some type of environment variable I can check that will give the username?
>>>>
>>>>Thanx
>>>>Stuart
>>>
>>>
>>>RIGHT(SYS(0), AT("#", SYS(0))+2)
>>
>>You meant:
>>
?substr(SYS(0), RAT("#", SYS(0))+2)
right?
>
>Same thing :)
No, not the same. Do I need to explain? :)
If it's not broken, fix it until it is.
My Blog