RE: EqualSid
From: Rob (Rob_at_discussions.microsoft.com)
Date: 11/24/04
- Previous message: Sebastian Rieger: "Validity period of certificates is not accepted anymore"
- In reply to: Joe Arnon: "EqualSid"
- Next in thread: Mark Stanley: "Re: EqualSid"
- Reply: Mark Stanley: "Re: EqualSid"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Previous message: Sebastian Rieger: "Validity period of certificates is not accepted anymore"
- In reply to: Joe Arnon: "EqualSid"
- Next in thread: Mark Stanley: "Re: EqualSid"
- Reply: Mark Stanley: "Re: EqualSid"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]