Could you also p/invoke into LoadUserProfile to accomplish the same thing?
I haven't tried it...
Joe K.

Signature
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
> Hi,
> yes - you can load it by hand - but i wouldn't really recommend that
[quoted text clipped - 41 lines]
>>>>
>>>> TIA.
Olivier Matrot - 22 Nov 2006 15:45 GMT
I just tried it.
This is weird. There is no error on LoadUserProfile, but the environment
remains unchanged...
> Could you also p/invoke into LoadUserProfile to accomplish the same thing?
> I haven't tried it...
[quoted text clipped - 46 lines]
>>>>>
>>>>> TIA.
Dominick Baier - 22 Nov 2006 15:47 GMT
LoadUserProfile requires SYSTEM
bummer :)
-----
Dominick Baier (http://www.leastprivilege.com)
> Could you also p/invoke into LoadUserProfile to accomplish the same
> thing? I haven't tried it...
>
> Joe K.