Export (0) Print
Expand All

SecureStoreProvider.GetCredentialsUsingTicket method

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

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

[SecureStorePermissionAttribute(SecurityAction.Demand, Access = SecureStoreAccess.Credentials)]
[PermissionSetAttribute(SecurityAction.Assert, Name = "FullTrust")]
public SecureStoreCredentialCollection GetCredentialsUsingTicket(
	string ticket,
	string appId
)

Parameters

ticket
Type: System.String

A Secure Store ticket that is previously issued through a call to IssueTicket().

appId
Type: System.String

The target application ID.

Return value

Type: Microsoft.BusinessData.Infrastructure.SecureStore.SecureStoreCredentialCollection
The collection of the credentials for the target application.

Implements

ISecureStoreProvider.GetCredentialsUsingTicket(String, String)

ExceptionCondition
SecureStoreCredentialsNotFoundException

The credentials are not available for the specified target application.

SecureStoreTargetApplicationNotFoundException

The target application does not exist in the Secure Store.

Show:
© 2015 Microsoft