Multiple threads with different credentials

Hi,

I’m trying to find out if there is a way for a process with multiple threads to use different Domino credentials for each thread (using the C API). I found the function, SECKFMSwitchToIDFile(), but this seems to apply at the process level only. Also I saw some functions that talk about setting different security contexts for sub-processes, but nothing to do with multiple threads.

Does anybody know if this is possible?

Thanks in advance,

David