SECPKG_CREDENTIAL structure

Specifies the credentials.

Syntax


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

The version.

cbHeaderLength

The length of the header.

cbStructureLength

The length of the structure, including the header, so that all of the content is in a contiguous buffer.

ClientProcess

The identity of the client process.

ClientThread

The identity of the client thread.

LogonId

The logon identity of the caller.

ClientToken

The client token of the caller.

SessionId

The session identity of the caller.

ModifiedId

The modified identity of the caller.

fCredentials

The credentials that are passed in or returned.

Flags

The credential flags.

PrincipalName

Not currently used.

PackageList

The list of packages. This member is only relevant to SPNego.

MarshaledSuppliedCreds

The supplied credentials that are marshaled. This member contains a SECPKG_SUPPLIED_CREDENTIAL structure.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Ntsecpkg.h

 

 

Show: