Compiler error ConvertSidToStringSid

From: Daniel [it.uc3m.es] (dds_at_it.uc3m.es)
Date: 03/03/04


Date: Wed, 3 Mar 2004 15:42:55 +0100

Hello,

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
i can't convert the SID
in a string using this function, the compiler (visual studio .NET 2003)
answer C3861 error.

Any help apreciated.

Daniel Diaz



Relevant Pages

  • Re: Systemkonto ermitteln
    ... Du die SID in einen String umformen. ... if(!LookupAccountSid(null, sid, name, ref cchName, referencedDomainName, ... ref cchReferencedDomainName, out sidUse)) { ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • Re: modify sIDHistory
    ... try using the clone principal scripts from MS. (reskit or supp. ... > selected sidHistory and pasted the octet value of the user sid that I ... >> Public Sub ClonePrincipal(ByVal srcDC As String, ByVal srcDom As String, ...
    (microsoft.public.windows.server.active_directory)
  • Re: modify sIDHistory
    ... The source domain is SAMBA3 and the destination is Server 2003 AD Native Mode. ... > selected sidHistory and pasted the octet value of the user sid that I wanted ... > old SID? ... >> Public Sub ClonePrincipal(ByVal srcDC As String, ByVal srcDom As String, ...
    (microsoft.public.windows.server.active_directory)
  • Re: Need help with DirectorySearcher FILTER using SID.
    ... The problem is obviously my SID format in the search filter. ... public static string GetWinName(DirectoryEntry de, ...
    (microsoft.public.dotnet.security)
  • Re: modify sIDHistory
    ... selected sidHistory and pasted the octet value of the user sid that I wanted ... >> Whether it is possible modify attribute sIDHistory by means of ADSI Edit? ... > Public Sub ClonePrincipal(ByVal srcDC As String, ByVal srcDom As String, ...
    (microsoft.public.windows.server.active_directory)