Struttura SID (ntifs.h)

La struttura SID (Security Identifier) è una struttura a lunghezza variabile usata per identificare in modo univoco utenti o gruppi.

I driver non devono modificare direttamente la struttura SID. Per creare e modificare un identificatore di sicurezza, usare le routine di supporto elencate nella sezione Vedere anche.

Sintassi

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

Members

Revision

Livello di revisione assegnato al SID.

SubAuthorityCount

Numero di sottoauthorità nel SID.

IdentifierAuthority

Struttura SID_IDENTIFIER_AUTHORITY che rappresenta l'autorità di primo livello del SID.

SubAuthority[*]

SubAuthority[ANYSIZE_ARRAY]

Requisiti

Requisito Valore
Intestazione ntifs.h (include Ntifs.h)

Vedi anche

RtlCopySid

RtlEqualPrefixSid

RtlEqualSid

RtlGetOwnerSecurityDescriptor

RtlInitializeSid

RtlLengthSid

RtlSetOwnerSecurityDescriptor

RtlSubAuthoritySid

RtlValidSid

SID_AND_ATTRIBUTES

SID_IDENTIFIER_AUTHORITY