Export (0) Print
Expand All

SecureStoreProvider.GetRestrictedCredentials method

Gets the credentials for a restricted target application using the specified target application ID.

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

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

Parameters

appId
Type: System.String

The ID of the restricted target application.

Return value

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

Implements

ISecureStoreProvider.GetRestrictedCredentials(String)

ExceptionCondition
SecureStoreCredentialsNotFoundException

The credentials are not available for the specified target application.

SecureStoreTargetApplicationNotFoundException

The target application does not exist in the Secure Store.

Community Additions

ADD
Show:
© 2014 Microsoft