TOKEN_ACCESS_INFORMATION struttura (winnt.h)

La struttura TOKEN_ACCESS_INFORMATION specifica tutte le informazioni in un token necessario per eseguire un controllo di accesso.

Nota Questa struttura non contiene informazioni sull'attestazione del token. Le applicazioni che supportano voci di controllo di accesso alle espressioni condizionali non devono usare questa struttura per verificare l'accesso. Per informazioni sul supporto della convalida di accesso per le espressioni condizionali, vedere le funzioni AuthzAccessCheck e AccessCheckAndAuditAlarm .

 

Sintassi

typedef struct _TOKEN_ACCESS_INFORMATION {
  PSID_AND_ATTRIBUTES_HASH     SidHash;
  PSID_AND_ATTRIBUTES_HASH     RestrictedSidHash;
  PTOKEN_PRIVILEGES            Privileges;
  LUID                         AuthenticationId;
  TOKEN_TYPE                   TokenType;
  SECURITY_IMPERSONATION_LEVEL ImpersonationLevel;
  TOKEN_MANDATORY_POLICY       MandatoryPolicy;
  DWORD                        Flags;
  DWORD                        AppContainerNumber;
  PSID                         PackageSid;
  PSID_AND_ATTRIBUTES_HASH     CapabilitiesHash;
  PSID                         TrustLevelSid;
  PSECURITY_ATTRIBUTES_OPAQUE  SecurityAttributes;
} TOKEN_ACCESS_INFORMATION, *PTOKEN_ACCESS_INFORMATION;

Members

SidHash

Puntatore a una struttura SID_AND_ATTRIBUTES_HASH che specifica un hash dell'identificatore di sicurezza del token (SID).

RestrictedSidHash

Puntatore a una struttura SID_AND_ATTRIBUTES_HASH che specifica un hash del SID limitato del token.

Privileges

Puntatore a una struttura TOKEN_PRIVILEGES che specifica informazioni sui privilegi del token.

AuthenticationId

Struttura LUID che specifica l'identità del token.

TokenType

Valore dell'enumerazione TOKEN_TYPE che specifica il tipo del token.

ImpersonationLevel

Valore dell'enumerazione SECURITY_IMPERSONATION_LEVEL che specifica il livello di rappresentazione del token.

MandatoryPolicy

Struttura TOKEN_MANDATORY_POLICY che specifica i criteri di integrità obbligatori del token.

Flags

Riservato. Deve essere impostato su zero.

AppContainerNumber

Numero di contenitore dell'app per il token o zero se non è un token del contenitore dell'app.

Windows Server 2008 R2, Windows 7, Windows Server 2008 e Windows Vista: Questo membro non è disponibile.

PackageSid

SiD del contenitore dell'app o NULL se non è un token del contenitore dell'app.

Windows Server 2008 R2, Windows 7, Windows Server 2008 e Windows Vista: Questo membro non è disponibile.

CapabilitiesHash

Puntatore a una struttura SID_AND_ATTRIBUTES_HASH che specifica un hash dei SID delle funzionalità del token.

Windows Server 2008 R2, Windows 7, Windows Server 2008 e Windows Vista: Questo membro non è disponibile.

TrustLevelSid

Livello di attendibilità del processo protetto del token.

SecurityAttributes

Riservato. Deve essere impostato su NULL.

Prima di Windows 10: questo membro non è disponibile.

Requisiti

Requisito Valore
Client minimo supportato Windows Vista [solo app desktop]
Server minimo supportato Windows Server 2008 [solo app desktop]
Intestazione winnt.h (includere Windows.h)

Vedi anche

TOKEN_INFORMATION_CLASS