SecureStoreServiceApplication.SetUserCredentials Method
Sets the credentials for the specified user, target application, and partition.
Namespace: Microsoft.Office.SecureStoreService.Server
Assembly: Microsoft.Office.SecureStoreService (in Microsoft.Office.SecureStoreService.dll)
Syntax
'Declaration
Public Sub SetUserCredentials ( _
rawPartitionId As Guid, _
applicationId As String, _
claim As SecureStoreServiceClaim, _
credentials As SerializableSecureStoreCredentialCollection _
)
'Usage
Dim instance As SecureStoreServiceApplication
Dim rawPartitionId As Guid
Dim applicationId As String
Dim claim As SecureStoreServiceClaim
Dim credentials As SerializableSecureStoreCredentialCollection
instance.SetUserCredentials(rawPartitionId, _
applicationId, claim, credentials)
public void SetUserCredentials(
Guid rawPartitionId,
string applicationId,
SecureStoreServiceClaim claim,
SerializableSecureStoreCredentialCollection credentials
)
Parameters
rawPartitionId
Type: System.GuidA GUID that represents the partition ID.
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.Office.SecureStoreService.Server.SerializableSecureStoreCredentialCollectionThe collection of user credentials to set.
Implements
Remarks
Administrators of the target application can call this method to set the credentials for the specified user.
See Also
Reference
SecureStoreServiceApplication Class