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
applicationId
Type: System.StringThe target application ID.
claim
Type: Microsoft.Office.SecureStoreService.Server.SecureStoreServiceClaimThe identity claim for the user whose credentials are to be set.
credentials
Type: Microsoft.BusinessData.Infrastructure.SecureStore.SecureStoreCredentialCollectionThe collection of user credentials to set.
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