ISecureStore.SetUserCredentials Method
Sets the credentials for a user for the specified individual target application.
Namespace: Microsoft.Office.SecureStoreService.Server
Assembly: Microsoft.Office.SecureStoreService (in Microsoft.Office.SecureStoreService.dll)
Syntax
'Declaration
Sub SetUserCredentials ( _
applicationId As String, _
claim As SecureStoreServiceClaim, _
credentials As SecureStoreCredentialCollection _
)
'Usage
Dim instance As ISecureStore
Dim applicationId As String
Dim claim As SecureStoreServiceClaim
Dim credentials As SecureStoreCredentialCollection
instance.SetUserCredentials(applicationId, _
claim, credentials)
void SetUserCredentials(
string applicationId,
SecureStoreServiceClaim claim,
SecureStoreCredentialCollection credentials
)
Parameters
applicationId
Type: System.StringThe target application identifier.
claim
Type: Microsoft.Office.SecureStoreService.Server.SecureStoreServiceClaimThe identity claim for the user for whom the credentials are to be set.
credentials
Type: Microsoft.BusinessData.Infrastructure.SecureStore.SecureStoreCredentialCollectionThe credentials for the user.
Remarks
This method can be called by the administrators of an application to set the credentials for the specified user.