# KERB\_RETRIEVE\_TKT\_REQUEST

```csharp
public struct KERB_RETRIEVE_TKT_REQUEST
{
    public KERB_PROTOCOL_MESSAGE_TYPE MessageType;
    public LUID LogonId;
    public LSA_UNICODE_STRING TargetName;
    public uint TicketFlags;
    public uint CacheOptions;
    public KERB_CRYPTO_KEY_TYPE EncryptionType;
    public SecHandle CredentialsHandle;
}
```

[KERB\_PROTOCOL\_MESSAGE\_TYPE](/identity/kerb_protocol_message_type.md)

[LUID](/foundation/luid.md)

[LSA\_UNICODE\_STRING](/authentication/lsa_unicode_string.md)

[KERB\_CRYPTO\_KEY\_TYPE](/identity/kerb_crypto_key_type.md)

[SecHandle](/security/sechandle.md)

```csharp
// CacheOptions
public const uint KERB_RETRIEVE_TICKET_DEFAULT = 0U;
public const uint KERB_RETRIEVE_TICKET_DONT_USE_CACHE = 1U;
public const uint KERB_RETRIEVE_TICKET_USE_CACHE_ONLY = 2U;
public const uint KERB_RETRIEVE_TICKET_USE_CREDHANDLE = 4U;
public const uint KERB_RETRIEVE_TICKET_AS_KERB_CRED = 8U;
public const uint KERB_RETRIEVE_TICKET_WITH_SEC_CRED = 16U;
public const uint KERB_RETRIEVE_TICKET_CACHE_TICKET = 32U;
public const uint KERB_RETRIEVE_TICKET_MAX_LIFETIME = 64U;
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.pinvoke.dev/identity/kerb_retrieve_tkt_request.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
