RE: Component access to client users identity

From: jzhu (anonymous_at_discussions.microsoft.com)
Date: 03/24/04


Date: Wed, 24 Mar 2004 06:11:06 -0800

Assuming your COM+ plumming is set up correctly to pass a client identity to the server, get the "domain\name" on the server as:
WindowsIdentity.GetCurrent().Name
     
     ----- Gavin wrote: -----
     
     I have an application with a thick client accessing a VB .NET component in COM+ (i.e inheriting from ServicedComponent).
     I need this COM+ component to be able to access the NT user name of the client, and potentially the domain name as well. Is there a straight forward way of doing this?
     
     Regards
     Gavin



Relevant Pages

  • Re: sunmanagers Digest, Vol 11, Issue 6
    ... check this e-mail and any attachments for viruses. ... > not an easy way of doing it, since my print server is ... >> Regards, ... > I did a tail on the messages file to get a stop action of the flying ...
    (SunManagers)
  • Re: Application design
    ... Gone through the whole article and written the sample app. ... we can quite quickly add in another server to handle some of the processing. ... Best regards, ... http://www.FOCUSPortals.com - Local franchises available ...
    (microsoft.public.dotnet.framework)
  • Re: netlogon and sysvol shares missing
    ... Best regards ... This posting is provided "AS IS" with no warranties, ... The folder scripts into SYSVOL was missing, I created it, netlogon is ... DNS servers on the NIC and not any ISPs DNS server. ...
    (microsoft.public.windows.server.active_directory)
  • Re: clients of a domain not accessible
    ... Best regards ... This posting is provided "AS IS" with no warranties, and confers no rights. ... Server use 255.255.255.0 ...
    (microsoft.public.windows.server.networking)
  • Re: Still strange not fully working DNS server
    ... Best regards ... "Meinolf Weber" wrote: ... On the server make sure the DHCP client service is started. ... Check the DNS server, DHCP, server name, etc ...
    (microsoft.public.windows.server.dns)