Compartilhar via


SecureStoreServiceApplication.RedeemTicket Method

Gets the credentials for the specified ticket and the specified target application.

Namespace:  Microsoft.Office.SecureStoreService.Server
Assembly:  Microsoft.Office.SecureStoreService (in Microsoft.Office.SecureStoreService.dll)

Syntax

'Declaration
Public Function RedeemTicket ( _
    rawPartitionId As Guid, _
    applicationId As String, _
    base64EncodedTicket As String _
) As SerializableSecureStoreCredentialCollection
'Usage
Dim instance As SecureStoreServiceApplication
Dim rawPartitionId As Guid
Dim applicationId As String
Dim base64EncodedTicket As String
Dim returnValue As SerializableSecureStoreCredentialCollection

returnValue = instance.RedeemTicket(rawPartitionId, _
    applicationId, base64EncodedTicket)
public SerializableSecureStoreCredentialCollection RedeemTicket(
    Guid rawPartitionId,
    string applicationId,
    string base64EncodedTicket
)

Parameters

  • rawPartitionId
    Type: System.Guid

    A GUID that represents the partition ID.

  • base64EncodedTicket
    Type: System.String

    The base64-encoded string that represents the ticket.

Return Value

Type: Microsoft.Office.SecureStoreService.Server.SerializableSecureStoreCredentialCollection
The credentials of the target application in the specified partition.

Implements

ISecureStoreServiceApplication.RedeemTicket(Guid, String, String)

Remarks

The caller must be a ticket redeemer for the specified target application.

See Also

Reference

SecureStoreServiceApplication Class

SecureStoreServiceApplication Members

Microsoft.Office.SecureStoreService.Server Namespace