Compartir a través de


Estructura SID (ntifs.h)

La estructura del identificador de seguridad (SID) es una estructura de longitud variable que se usa para identificar de forma única usuarios o grupos.

Los controladores no deben modificar directamente la estructura del SID. Para crear y manipular un identificador de seguridad, use las rutinas de soporte técnico que aparecen en la sección Ver también.

Sintaxis

typedef struct _SID {
  UCHAR                    Revision;
  UCHAR                    SubAuthorityCount;
  SID_IDENTIFIER_AUTHORITY IdentifierAuthority;
#if ...
  ULONG                    *SubAuthority[];
#else
  ULONG                    SubAuthority[ANYSIZE_ARRAY];
#endif
} SID, *PISID;

Miembros

Revision

Nivel de revisión asignado al SID.

SubAuthorityCount

Número de subauthoridades en el SID.

IdentifierAuthority

Estructura SID_IDENTIFIER_AUTHORITY que representa la autoridad de nivel superior del SID.

SubAuthority[*]

SubAuthority[ANYSIZE_ARRAY]

Requisitos

Requisito Valor
encabezado de ntifs.h (incluya Ntifs.h)

Consulte también

RtlCopySid

RtlEqualPrefixSid

RtlEqualSid

RtlGetOwnerSecurityDescriptor

rtlInitializeSid

rtlLengthSid

RtlSetOwnerSecurityDescriptor

RtlSubAuthoritySid

RtlValidSid

SID_AND_ATTRIBUTES

SID_IDENTIFIER_AUTHORITY