KerberosSupplementalTicketManager.SaveToWindowsTicketCache Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SaveToWindowsTicketCache(KerberosSupplementalTicket) |
Save current Kerberos Ticket to current user's Ticket Cache. |
SaveToWindowsTicketCache(KerberosSupplementalTicket, Int64) |
Save current Kerberos Ticket to current user's Ticket Cache. Windows only. |
SaveToWindowsTicketCache(KerberosSupplementalTicket)
Save current Kerberos Ticket to current user's Ticket Cache.
public static void SaveToWindowsTicketCache (Microsoft.Identity.Client.Kerberos.KerberosSupplementalTicket ticket);
static member SaveToWindowsTicketCache : Microsoft.Identity.Client.Kerberos.KerberosSupplementalTicket -> unit
Public Shared Sub SaveToWindowsTicketCache (ticket As KerberosSupplementalTicket)
Parameters
- ticket
- KerberosSupplementalTicket
Kerberos ticket object to save.
Remarks
Throws ArgumentException when given ticket parameter is not a valid Kerberos supplemental ticket. Throws Win32Exception if error occurs while saving ticket information into Ticket Cache.
Applies to
SaveToWindowsTicketCache(KerberosSupplementalTicket, Int64)
Save current Kerberos Ticket to current user's Ticket Cache. Windows only.
public static void SaveToWindowsTicketCache (Microsoft.Identity.Client.Kerberos.KerberosSupplementalTicket ticket, long logonId);
static member SaveToWindowsTicketCache : Microsoft.Identity.Client.Kerberos.KerberosSupplementalTicket * int64 -> unit
Public Shared Sub SaveToWindowsTicketCache (ticket As KerberosSupplementalTicket, logonId As Long)
Parameters
- ticket
- KerberosSupplementalTicket
Kerberos ticket object to save.
- logonId
- Int64
The Logon Id of the user owning the ticket cache. The default of 0 represents the currently logged on user.
Remarks
Throws ArgumentException when given ticket parameter is not a valid Kerberos supplemental ticket. Throws Win32Exception if error occurs while saving ticket information into Ticket Cache.