Archive: Question Is there a documentation for UserInfo.dll?


Is there a documentation for UserInfo.dll?
Hi,

I'm searching the web (wiki and forum included) for a documentation of the UserInfo.dll but I don't find it. :rolleyes:

I want to know which functions are supported additionally to GetName and GetAccountType.

I need a function to get the full name of the user (first name + surname)
and the company name for a "customer information" page.

How can I do this?

Thx for replying.


Split from unrelated thread.

UserInfo has no more functions. Those are the only two. To get the full user name and company name, you can read the following key from the registry:

HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info

For more information see:

http://www.winguides.com/registry/display.php/192/


Originally posted by kichik
To get the full user name and company name, you can read the following key from the registry:

HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info

For more information see:

http://www.winguides.com/registry/display.php/192/
Thank you kichik for your answer :)

If this registry key not exists you also can look at:
"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\RegisteredOwner" and
"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\RegisteredOrganization"