KerberosSupplementalTicketManager.GetKerberosTicketFromWindowsTicketCache Method

Definition

Overloads

GetKerberosTicketFromWindowsTicketCache(String)

Reads a Kerberos Service Ticket associated with given service principal name from current user's Ticket Cache. Windows only.

GetKerberosTicketFromWindowsTicketCache(String, Int64)

Reads a Kerberos Service Ticket associated with given service principal name from current user's Ticket Cache.

GetKerberosTicketFromWindowsTicketCache(String)

Reads a Kerberos Service Ticket associated with given service principal name from current user's Ticket Cache. Windows only.

public static byte[] GetKerberosTicketFromWindowsTicketCache (string servicePrincipalName);
static member GetKerberosTicketFromWindowsTicketCache : string -> byte[]
Public Shared Function GetKerberosTicketFromWindowsTicketCache (servicePrincipalName As String) As Byte()

Parameters

servicePrincipalName
String

Service principal name to find associated Kerberos Ticket.

Returns

Byte[]

Byte stream of searched Kerberos Ticket information if exists. Null, otherwise.

Remarks

Throws Win32Exception if error occurs while searching ticket information from Ticket Cache.

Applies to

GetKerberosTicketFromWindowsTicketCache(String, Int64)

Reads a Kerberos Service Ticket associated with given service principal name from current user's Ticket Cache.

public static byte[] GetKerberosTicketFromWindowsTicketCache (string servicePrincipalName, long logonId);
static member GetKerberosTicketFromWindowsTicketCache : string * int64 -> byte[]
Public Shared Function GetKerberosTicketFromWindowsTicketCache (servicePrincipalName As String, logonId As Long) As Byte()

Parameters

servicePrincipalName
String

Service principal name to find associated Kerberos Ticket.

logonId
Int64

The Logon Id of the user owning the ticket cache. The default of 0 represents the currently logged on user.

Returns

Byte[]

Byte stream of searched Kerberos Ticket information if exists. Null, otherwise.

Remarks

Throws Win32Exception if error occurs while searching ticket information from Ticket Cache.

Applies to