Struttura SID (winnt.h)

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

Le applicazioni non devono modificare direttamente un SID. Per creare e modificare un identificatore di sicurezza, usare le funzioni elencate nella sezione Vedere anche .

Sintassi

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

Members

Revision

SubAuthorityCount

IdentifierAuthority

SubAuthority[*]

SubAuthority[ANYSIZE_ARRAY]

Requisiti

Requisito Valore
Client minimo supportato Windows XP [solo app desktop]
Server minimo supportato Windows Server 2003 [solo app desktop]
Intestazione winnt.h (include Windows.h)

Vedi anche

AllocateAndInitializeSid

ConvertSidToStringSid

ConvertStringSidToSid

CopySid

EqualSid

FreeSid

GetLengthSid

GetSidIdentifierAuthority

GetSidLengthRequired

GetSidSubAuthority

GetSidSubAuthorityCount

InitializeSid

IsValidSid

Lookupaccountname

Lookupaccountsid

Componenti SID