struttura SECPKG_CREDENTIAL (ntsecpkg.h)

Specifica le credenziali.

Sintassi

typedef struct _SECPKG_CREDENTIAL {
  ULONG64            Version;
  USHORT             cbHeaderLength;
  ULONG              cbStructureLength;
  ULONG              ClientProcess;
  ULONG              ClientThread;
  LUID               LogonId;
  HANDLE             ClientToken;
  ULONG              SessionId;
  LUID               ModifiedId;
  ULONG              fCredentials;
  ULONG              Flags;
  SECPKG_BYTE_VECTOR PrincipalName;
  SECPKG_BYTE_VECTOR PackageList;
  SECPKG_BYTE_VECTOR MarshaledSuppliedCreds;
} SECPKG_CREDENTIAL, *PSECPKG_CREDENTIAL;

Members

Version

Versione.

cbHeaderLength

Lunghezza dell'intestazione.

cbStructureLength

Lunghezza della struttura, inclusa l'intestazione, in modo che tutto il contenuto si trova in un buffer contiguo.

ClientProcess

Identità del processo client.

ClientThread

Identità del thread client.

LogonId

Identità di accesso del chiamante.

ClientToken

Token client del chiamante.

SessionId

Identità della sessione del chiamante.

ModifiedId

Identità modificata del chiamante.

fCredentials

Credenziali passate o restituite.

Flags

Flag delle credenziali.

PrincipalName

Attualmente non utilizzato.

PackageList

Elenco di pacchetti. Questo membro è rilevante solo per SPNego.

MarshaledSuppliedCreds

Credenziali fornite di cui viene fatto il marshalling. Questo membro contiene una struttura SECPKG_SUPPLIED_CREDENTIAL .

Requisiti

Requisito Valore
Client minimo supportato Windows 7 [solo app desktop]
Server minimo supportato Windows Server 2008 R2 [solo app desktop]
Intestazione ntsecpkg.h