Re: CreateWellKnownSid() SID buffer size

From: Arild Bakken (
Date: 11/14/03

Date: Fri, 14 Nov 2003 15:33:42 +0100

"Rubio" <> wrote in message
> The MSDN documentation of CreateWellKnownSid() function contains an
example where a constant SECURITY_MAX_SID_SIZE is used. I can't find this
constant anywhere so it's probably not defined in the Windows headers. My
question is, how large a buffer should I allocate for the SID? I'm trying to
get the SID for the USERS group.
> -- Rubio

It's only available in Windows XP and Windows Server 2003 so make sure you
have an updated version of the Platform SDK installed. It's defined in


Relevant Pages