> For the complete documentation index, see [llms.txt](https://www.pinvoke.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.pinvoke.dev/identity/kerb_retrieve_tkt_request.md).

# 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;
```
