Share via


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.Guid

    A GUID that represents the partition ID.

Implements

ISecureStoreServiceApplication.SetUserCredentials(Guid, String, SecureStoreServiceClaim, SerializableSecureStoreCredentialCollection)

Remarks

Administrators of the target application can call this method to set the credentials for the specified user.

See Also

Reference

SecureStoreServiceApplication Class

SecureStoreServiceApplication Members

Microsoft.Office.SecureStoreService.Server Namespace