Re: API in vb.net - OpenInputDesktop and GetUserObjectInformation



The SID that's returned is: 130000055000000010620300 which isn't
like anything on this machine. The SecurityIdentifer class doesn't
recognize it as a SID either.

Shouldn't you be using the ConvertSidToStringSid function to get the
string representation of the SID instead of using your own routine?


Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
.



Relevant Pages

  • Extract SID from IWA response
    ... string representation of a user's SID after they have authenticated using ... return a domain/username string but to get the SID requires an DS lookup ... function which is performed across the wire. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • 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)
  • Compiler error ConvertSidToStringSid
    ... I'm trying to use the ConvertSidToStringSid function to get the string that ... represent my SID, ... I get a handle to my token, and then I extract information about my SID, but ... in a string using this function, the compiler ...
    (microsoft.public.platformsdk.security)