KERB_QUERY_TKT_CACHE_REQUEST structure (ntsecapi.h)

The KERB_QUERY_TKT_CACHE_REQUEST structure contains information used to query the ticket cache.

It is used by LsaCallAuthenticationPackage.

Syntax

typedef struct _KERB_QUERY_TKT_CACHE_REQUEST {
  KERB_PROTOCOL_MESSAGE_TYPE MessageType;
  LUID                       LogonId;
} KERB_QUERY_TKT_CACHE_REQUEST, *PKERB_QUERY_TKT_CACHE_REQUEST;

Members

MessageType

KERB_PROTOCOL_MESSAGE_TYPE value identifying the type of request being made. This member must be set to KerbQueryTicketCacheMessage or KerbRetrieveTicketMessage.

If this member is set to KerbQueryTicketCacheMessage, the request is for information about all of the cached tickets for the specified user logon session. If it is set to KerbRetrieveTicketMessage, the request is for the ticket granting ticket from the ticket cache of the specified user logon session.

LogonId

LUID structure containing the logon session identifier. This can be zero for the current user's logon session. If not zero, the caller must have the SeTcbPrivilege privilege set. If this fails, the Kerberos authentication package sets the ProtocolStatus parameter of LsaCallAuthenticationPackage to STATUS_ACCESS_DENIED.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header ntsecapi.h