Extract SID from IWA response

From: Kevin Dorle (Dorle_at_discussions.microsoft.com)
Date: 02/17/05

  • Next message: RichardF: "Accessing files on a different machine"
    Date: Thu, 17 Feb 2005 13:59:10 -0800
    
    

    It appears in .NET 2.0 there is a property of the
    System.Security.Principal.WindowsIdentity class called User that returns a
    string representation of a user's SID after they have authenticated using
    IWA. My question, is a similar property in .NET 1.1 from another class that
    will return the same information? I know there are several properties that
    return a domain/username string but to get the SID requires an DS lookup
    function which is performed across the wire. The application we are
    developing resides on a web server in a domain that has several dozen trust
    relationships to "account" domains across WAN links with varying speeds. To
    maximize performance, the user property appears to work without going over
    the wire. I am assuming it is getting this from the Kerberos authenticator
    that is passed during the IWA handshake.

    Thanks,
    Kevin


  • Next message: RichardF: "Accessing files on a different machine"

    Relevant Pages

    • Re: Accesing other register files
      ... to the SID, take the string representation ... edit registry: any of classes/components that can edit the registry. ... > How can this be achieved in Dellphi? ...
      (borland.public.delphi.nativeapi)
    • Re: API in vb.net - OpenInputDesktop and GetUserObjectInformation
      ... Shouldn't you be using the ConvertSidToStringSid function to get the ... string representation of the SID instead of using your own routine? ... Mattias Sjögren mattias @ mvps.org ...
      (microsoft.public.dotnet.languages.vb)