Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Users Full Name from NT
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00663837
Message ID:
00664015
Views:
23
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform