Aracılığıyla paylaş


ISecureStoreProvider.GetCredentialsUsingTicket Method

Gets the credentials for the target application using the specified previously issued Secure Store ticket and target application ID.

Namespace:  Microsoft.BusinessData.Infrastructure.SecureStore
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Function GetCredentialsUsingTicket ( _
    ticket As String, _
    appId As String _
) As SecureStoreCredentialCollection
'Usage
Dim instance As ISecureStoreProvider
Dim ticket As String
Dim appId As String
Dim returnValue As SecureStoreCredentialCollection

returnValue = instance.GetCredentialsUsingTicket(ticket, _
    appId)
SecureStoreCredentialCollection GetCredentialsUsingTicket(
    string ticket,
    string appId
)

Parameters

Return Value

Type: Microsoft.BusinessData.Infrastructure.SecureStore.SecureStoreCredentialCollection
The collection of credentials.

Exceptions

Exception Condition
SecureStoreCredentialsNotFoundException

The credentials are not available for the specified target application.

SecureStoreTargetApplicationNotFoundException

The target application does not exist in the Secure Store.

See Also

Reference

ISecureStoreProvider Interface

ISecureStoreProvider Members

Microsoft.BusinessData.Infrastructure.SecureStore Namespace