Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I obtain the user name?
Message
 
 
À
18/05/2006 14:46:33
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:
01123360
Vues:
23
>>Another alternative to get the real full name is:
>>
>>
>>oSysInfo = GetObject("WinNT://DOMAIN/USERNAME")
>>? oSysInfo.Fullname
>>
>>
>>Bye, Olaf.
>
>Or just:
>
>
cUserName = GETENV("username")
It's still not a full name of the user, but a login name.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform