Compartilhar via


SecureStoreServiceApplicationProxy.SetUserCredentials Method

NOTE: This API is now obsolete.

Sets the credentials for the specified user and 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 SetUserCredentials ( _
    applicationId As String, _
    claim As SecureStoreServiceClaim, _
    credentials As SecureStoreCredentialCollection _
)
'Usage
Dim instance As SecureStoreServiceApplicationProxy
Dim applicationId As String
Dim claim As SecureStoreServiceClaim
Dim credentials As SecureStoreCredentialCollection

instance.SetUserCredentials(applicationId, _
    claim, credentials)
[ObsoleteAttribute("Use the ISecureStore interface to call into the SSS OM")]
public void SetUserCredentials(
    string applicationId,
    SecureStoreServiceClaim claim,
    SecureStoreCredentialCollection credentials
)

Parameters

Remarks

This method can be invoked by the administrator of an application to set the credentials for a user.

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