I finally got it. Using the link below, I added the impersonation
code as part of my procedure which is called by the thread.
http://support.microsoft.com/default...;en-us;Q306158
Thanks for you help.
"Fergus Cooney" <filter-(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> Hi Greg,
>
> I'm afraid I've done nothing in the way of users and impersonation (I only
> have a vague idea what this actually means).
>
> You're saying that the impersonation works in the App but not in a new
> Thread? This surprises me as my understanding is that Threads are supposed to
> share whatever else is going on within the AppDomain. However, my knowledge
> <is> scanty.
>
> I wish I could help further. :-(
>
> Regards,
> Fergus