Share via


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

Remarks

Since this method is obsolete, you should invoke it through the ISecureStore interface instead.

See also

Reference

SecureStoreServiceApplicationProxy class

SecureStoreServiceApplicationProxy members

Microsoft.Office.SecureStoreService.Server namespace