Can the COM server identify its client?
C# COM Interop DLL
Collapse
This topic is closed.
X
X
-
=?Utf-8?B?QUEyZTcyRQ==?=Tags: None -
=?Utf-8?B?QUEyZTcyRQ==?= -
Nicholas Paldino [.NET/C# MVP]
Re: C# COM Interop DLL
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]
- mvp@spam.guard. caspershouse.co m
"AA2e72E" <AA2e72E@discus sions.microsoft .comwrote in message
news:F63EAEBA-9224-4AC7-A8C1-B19CCF6B699B@mi crosoft.com...Can the COM server identify its client?
Comment
-
=?Utf-8?B?QUEyZTcyRQ==?=
Re: C# COM Interop DLL
What are the implications of "unless it is configured through COM+)"?
Can you still get the identity?
Comment
-
Nicholas Paldino [.NET/C# MVP]
Re: C# COM Interop DLL
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]
- mvp@spam.guard. caspershouse.co m
"AA2e72E" <AA2e72E@discus sions.microsoft .comwrote in message
news:2575946C-41D8-48EB-96F7-A77D8B5EFA3E@mi crosoft.com...What are the implications of "unless it is configured through COM+)"?
Can you still get the identity?
Comment
Comment