http://www.perlmonks.org?node_id=294937


in reply to LoadUserProfile API-call?

If you check out the source for Win32::NetAdmin at roth.net you can see that the function call for LoadUserProfile has been commented out (see adminmisc.cpp, line 1094). There is also a copy of the function itself. You may want to download the source and try to uncomment/recompile. If that does not work (assuming it is commented for a reason), then i would say Win32::API is the next stop.

from the frivolous to the serious