Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
<FaultContractAttribute(GetType(ArgumentException))> _
<FaultContractAttribute(GetType(ArgumentNullException))> _
<OperationContractAttribute> _
<FaultContractAttribute(GetType(SecureStoreServiceFault))> _
<FaultContractAttribute(GetType(SecureStoreServiceTargetApplicationNotFoundFault))> _
Sub SetUserCredentials ( _
rawPartitionId As Guid, _
applicationId As String, _
claim As SecureStoreServiceClaim, _
credentials As SerializableSecureStoreCredentialCollection _
)
'Usage
Dim instance As ISecureStoreServiceApplication
Dim rawPartitionId As Guid
Dim applicationId As String
Dim claim As SecureStoreServiceClaim
Dim credentials As SerializableSecureStoreCredentialCollection
instance.SetUserCredentials(rawPartitionId, _
applicationId, claim, credentials)
[FaultContractAttribute(typeof(ArgumentException))]
[FaultContractAttribute(typeof(ArgumentNullException))]
[OperationContractAttribute]
[FaultContractAttribute(typeof(SecureStoreServiceFault))]
[FaultContractAttribute(typeof(SecureStoreServiceTargetApplicationNotFoundFault))]
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.
Remarks
Administrators of the target application can call this method to set the credentials for the specified user.
See Also
Reference
ISecureStoreServiceApplication Interface