Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do get a user login name from Windows
Message
From
30/04/2001 17:18:31
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00501724
Message ID:
00501796
Views:
36
>>>I need to be able to find the user name a person has used to login onto Windows 2000 Server from within a FoxPro application.
>>>
>>>Is there some type of environment variable I can check that will give the username?
>>>
>>>Thanx
>>>Stuart
>>
>>
>>RIGHT(SYS(0), AT("#", SYS(0))+2)
>
>You meant:
>
?substr(SYS(0), RAT("#", SYS(0))+2)
right?

Same thing :)
Insanity: Doing the same thing over and over and expecting different results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform