Your code ignores the result of ImpersonateLoggedOnUser.  If it indicated a 
failure ...

Did you get things working?  What had to be done to make it work?

At 04:10 PM 11/29/2006, Dimitrios Toulakis wrote (in part)
>Hi,
>
>but I am setting explicit the user in ImpersonateUser(..).
>And this user has full access to the AD.
>
>Otherwise I would not do that step.....
>
>Here is how the Impersonate class looks like:
>[snip]
>                        if (!justLogon) ImpersonateLoggedOnUser(token);
>[snip]


J. Merrill / Analytical Software Corp

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to