RE: EqualSid

From: Rob (Rob_at_discussions.microsoft.com)
Date: 11/24/04

  • Next message: Mark Stanley: "Re: EqualSid"
    Date: Wed, 24 Nov 2004 09:05:04 -0800
    
    

    I think the code sample is in the MSDN article "Creating a Security
    Descriptor for a New Object". There are other places where they construct the
    Admin group SID. You might also find it in the sample code that ships with
    the platform SDK.

    "Joe Arnon" wrote:

    > Hi, How do I compare a given Sid to the Administartos sid or the System use
    > sid? I cannot use IsWellKnownSid() for my program runs on Windows2000. So I
    > need to use EqualSid(). How do I build the Administrators Group Sid or the
    > system user sid? Can you give me the code in c++.
    > Thanks in advance,
    > Joe


  • Next message: Mark Stanley: "Re: EqualSid"