SecureStoreServiceApplicationProxy.SetCredentials Method
NOTE: This API is now obsolete.
Sets the credentials for the current caller for the specified individual target application.
Namespace: Microsoft.Office.SecureStoreService.Server
Assembly: Microsoft.Office.SecureStoreService (in Microsoft.Office.SecureStoreService.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use the ISecureStore interface to call into the SSS OM")> _
Public Sub SetCredentials ( _
applicationId As String, _
credentials As SecureStoreCredentialCollection _
)
'Usage
Dim instance As SecureStoreServiceApplicationProxy
Dim applicationId As String
Dim credentials As SecureStoreCredentialCollection
instance.SetCredentials(applicationId, _
credentials)
[ObsoleteAttribute("Use the ISecureStore interface to call into the SSS OM")]
public void SetCredentials(
string applicationId,
SecureStoreCredentialCollection credentials
)
Parameters
applicationId
Type: System.StringThe target application ID.
credentials
Type: Microsoft.BusinessData.Infrastructure.SecureStore.SecureStoreCredentialCollectionThe credentials collection.
Remarks
Since this method is obsolete, you should invoke it through the ISecureStore interface instead.
See Also
Reference
SecureStoreServiceApplicationProxy Class