Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the User ID...
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00513880
Message ID:
00513916
Views:
13
>>>In my case I cannot use the sys(0) because on Win 2000 that function return "Machine name #255" no mather which user is login.
>>>

>>>>>No! This return the Machine name. In our case the machine name will be deferent then the user ID.
>>>>>

>>>>Isn't the user name what occurs after the "#" in the return from SYS(0)?
>>
>>Really? I get the user name on my W2K.
>
>Don't have FoxPro Windows 2.6 here, but in FoxPro 2.6 DOS under Windows 2000 it brings
>
>computer_name # 255

So it does. FPW2.6 does, too. I was checking with VFP6.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform