KERB_QUERY_TKT_CACHE_RESPONSE structure (ntsecapi.h)

The KERB_QUERY_TKT_CACHE_RESPONSE structure contains the results of querying the ticket cache.

It is used by LsaCallAuthenticationPackage.

Syntax

typedef struct _KERB_QUERY_TKT_CACHE_RESPONSE {
  KERB_PROTOCOL_MESSAGE_TYPE MessageType;
  ULONG                      CountOfTickets;
  KERB_TICKET_CACHE_INFO     Tickets[ANYSIZE_ARRAY];
} KERB_QUERY_TKT_CACHE_RESPONSE, *PKERB_QUERY_TKT_CACHE_RESPONSE;

Members

MessageType

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

CountOfTickets

Number of tickets in Tickets array. This can be zero if no tickets are available for the specified logon session.

Tickets[ANYSIZE_ARRAY]

Array of length CountOfTickets of KERB_TICKET_CACHE_INFO structures.

Remarks

This buffer is allocated by the Kerberos authentication package and should be deleted by the application that called LsaCallAuthenticationPackage, using LsaFreeReturnBuffer.

Requirements

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