>just wondering do we have any foxpro command that returns current logged in user info that i can use compare with GetOwner method ?
>or do i need to use those API functions ?
>Thanks again for your help.
I have, but I am not sure how they work in TerminalServices, if you can test try this
? GETENV("USERNAME")
? GETENV("LOGONSERVER")
? GETENV("USERDOMAIN")
[Update] Well, sorry about the "I have" they are not really mine! <g>
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges