C# COM Interop DLL

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?QUEyZTcyRQ==?=

    C# COM Interop DLL

    Can the COM server identify its client?
  • =?Utf-8?B?QUEyZTcyRQ==?=

    #2
    RE: C# COM Interop DLL

    Please ignore.

    "AA2e72E" wrote:
    Can the COM server identify its client?

    Comment

    • Nicholas Paldino [.NET/C# MVP]

      #3
      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==?=

        #4
        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]

          #5
          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

          Working...