Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Killing process
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01328909
Message ID:
01328927
Views:
10
This message has been marked as a message which has helped to the initial question of the thread.
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform