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
ticket
Type: System.StringA Secure Store ticket that is previously issued through a call to IssueTicket().
appId
Type: System.StringThe target application identifier.
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. |