Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I obtain the user name?
Message
 
À
17/05/2006 17:41:14
Vernon Chambers
New York City Transit
New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Novell 6.x
Divers
Thread ID:
01123025
Message ID:
01123096
Vues:
15
Vernon,

SYS(0) does what you want as others have stated, but I prefer to use ID(). It returns the same thing, but is easier for code maintenance (and memory), IMO. I stopped using SYS(0) as soon as I learned of the ID() function.

HTH,
Chad


>Hello All!
>
>I would like to grab the user name (either from the network and/or windows) from the system. Is this possible without having to purchase 3rd party software?
>
>Highly appreciate the help.
>
>Thank you,
>
>Vernon
_________________________________
There are 2 types of people in the world:
    Those who need closure
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform