Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Login name and SYS(0) different
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01555309
Message ID:
01555352
Vues:
64
>>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")

Are you saying that the SYS(0) is getting the user name from Environment Variable, or are just offering an alternitive to SYS(0)?

I am not in front of my home machine, but check later.
Greg Reichert
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform