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:
01328970
Views:
8
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform