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 current caller for the specified individual target application in the specified 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 SetCredentials ( _
rawPartitionId As Guid, _
applicationId As String, _
credentials As SerializableSecureStoreCredentialCollection _
)
'Usage
Dim instance As ISecureStoreServiceApplication
Dim rawPartitionId As Guid
Dim applicationId As String
Dim credentials As SerializableSecureStoreCredentialCollection
instance.SetCredentials(rawPartitionId, _
applicationId, credentials)
[FaultContractAttribute(typeof(ArgumentException))]
[FaultContractAttribute(typeof(ArgumentNullException))]
[OperationContractAttribute]
[FaultContractAttribute(typeof(SecureStoreServiceFault))]
[FaultContractAttribute(typeof(SecureStoreServiceTargetApplicationNotFoundFault))]
void SetCredentials(
Guid rawPartitionId,
string applicationId,
SerializableSecureStoreCredentialCollection credentials
)
Parameters
rawPartitionId
Type: System.GuidA GUID that represents the partition ID.
applicationId
Type: System.StringThe target application ID.
credentials
Type: Microsoft.Office.SecureStoreService.Server.SerializableSecureStoreCredentialCollectionThe credentials collection.
See Also
Reference
ISecureStoreServiceApplication Interface