Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Login name and SYS(0) different
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01555309
Message ID:
01555350
Views:
63
>I am login into Windows using the name "Greg". But in VFP, the SYS(0) reports "user". The "user" is the name the computer store assogned when they installed the OS. Where does VFP gat the user name? Registry? Environment Variable?

How about GETENV("USERNAME")
Brandon Harker
Sebae Data Solutions
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform