다음을 통해 공유


ISecureStoreServiceApplication.GetRestrictedCredentials Method

Gets the credentials for a restricted application using the specified partition ID and application ID.

Namespace:  Microsoft.Office.SecureStoreService.Server
Assembly:  Microsoft.Office.SecureStoreService (in Microsoft.Office.SecureStoreService.dll)

Syntax

'Declaration
<FaultContractAttribute(GetType(SecureStoreServiceTargetApplicationNotFoundFault))> _
<FaultContractAttribute(GetType(ArgumentNullException))> _
<OperationContractAttribute> _
<FaultContractAttribute(GetType(SecureStoreServiceFault))> _
<FaultContractAttribute(GetType(SecureStoreServiceCredentialsNotFoundFault))> _
<FaultContractAttribute(GetType(ArgumentException))> _
Function GetRestrictedCredentials ( _
    rawPartitionId As Guid, _
    applicationId As String _
) As SerializableSecureStoreCredentialCollection
'Usage
Dim instance As ISecureStoreServiceApplication
Dim rawPartitionId As Guid
Dim applicationId As String
Dim returnValue As SerializableSecureStoreCredentialCollection

returnValue = instance.GetRestrictedCredentials(rawPartitionId, _
    applicationId)
[FaultContractAttribute(typeof(SecureStoreServiceTargetApplicationNotFoundFault))]
[FaultContractAttribute(typeof(ArgumentNullException))]
[OperationContractAttribute]
[FaultContractAttribute(typeof(SecureStoreServiceFault))]
[FaultContractAttribute(typeof(SecureStoreServiceCredentialsNotFoundFault))]
[FaultContractAttribute(typeof(ArgumentException))]
SerializableSecureStoreCredentialCollection GetRestrictedCredentials(
    Guid rawPartitionId,
    string applicationId
)

Parameters

  • rawPartitionId
    Type: System.Guid

    The GUID that represents the partition ID.

  • applicationId
    Type: System.String

    The ID of the restricted target application.

Return Value

Type: Microsoft.Office.SecureStoreService.Server.SerializableSecureStoreCredentialCollection
A credentials collection for the restricted target application in the specified partition.

Remarks

This method can be called to return the credentials for restricted and non-restricted target applications.

See Also

Reference

ISecureStoreServiceApplication Interface

ISecureStoreServiceApplication Members

Microsoft.Office.SecureStoreService.Server Namespace