>>>>Yes ! But in my case we use Terminal Server.
>>>>I think this is wy we get 255.
>>>>
>>>
>>>Sorry, I missed the part of FPW2.6. I get 255 as the user on both FPD & FPW2.6 on W2K. I was testing with VFP.
>>
>>What getenv("User") return? In VFP it returns nothing...
>
>It would only return something if someone set up a USER environment variable before you started your application (or VFP).
Yes, I'm reading this in Hacker's Guide now...
If it's not broken, fix it until it is.
My Blog