471,325 Members | 1,619 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,325 software developers and data experts.

C# COM Interop DLL

Can the COM server identify its client?
Jun 27 '08 #1
4 1341
Please ignore.

"AA2e72E" wrote:
Can the COM server identify its client?
Jun 27 '08 #2
Well, how are you connecting to the COM server? If it is running in
process, (unless it is configured through COM+) then the identity associated
with the thread is the identity of the client. The current windows
principal will be what you want.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"AA2e72E" <AA*****@discussions.microsoft.comwrote in message
news:F6**********************************@microsof t.com...
Can the COM server identify its client?

Jun 27 '08 #3
What are the implications of "unless it is configured through COM+)"?
Can you still get the identity?
Jun 27 '08 #4
Components configured in COM+ can be configured to run under a different
identity, as well as how much information is conveyed about the client. You
would have to get the security information through the current object
context in the COM+ component at that point.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"AA2e72E" <AA*****@discussions.microsoft.comwrote in message
news:25**********************************@microsof t.com...
What are the implications of "unless it is configured through COM+)"?
Can you still get the identity?

Jun 27 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by roy | last post: by
reply views Thread by roy | last post: by
reply views Thread by keefah | last post: by
reply views Thread by lacour | last post: by
1 post views Thread by Nadav | last post: by
8 posts views Thread by Rob Edwards | last post: by
7 posts views Thread by R Reyes | last post: by
reply views Thread by Tina | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.