Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Users Full Name from NT
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00663837
Message ID:
00664015
Vues:
22
>>I want to use GetUserNameEx(), but I can't get it to return the users full name on NT or w2k.
>
>What error do you get?
>Take also look at Determine A User's Full Name Thread #577470 Message #577901.


"ERROR_NONE_MAPPED" 1332

that is slow.. too slow to use on our servers in the application.
cName = space(100)
GetUserNameEx(1, @cName, 100) should work, but returns an error.
GetLastError() = 1332.

GetUserNameEx(2,@cname,100) is the only one that works, but that returns the login name, not the full name.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform