I have a form in my application that executes an LDAP query. But, since each result-item requires some processing I decided to process each item in a separate thread. Alas, I quickly realized that the processing (which calls some methods in a COM object) refuse to work - because (or "perhaps" is a better word) the thread does not spawn under the same user account. The COM part is working fine, but the code that would return the correct information if executed as part of the program - does not return the correct information when executed in a thread. When I googled this I found information pointing to security descriptors and tokens. Which I must admit I have very little experience with.I have a form in my application that executes a