>>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>
You can also test ID()
If it's not broken, fix it until it is.
My Blog