---
title: "disambiguation(with:)"
framework: intents
role: symbol
role_heading: Type Method
path: "intents/inpaymentaccountresolutionresult/disambiguation(with:)"
---

# disambiguation(with:)

Creates an object whose resolution requires the user to select from among the specified objects.

## Declaration

```swift
class func disambiguation(with paymentAccountsToDisambiguate: [INPaymentAccount]) -> Self
```

## Parameters

- `paymentAccountsToDisambiguate`: An array of doc://com.apple.sirikit/documentation/Intents/INPaymentAccount objects from which to select. Specify as few objects as possible, and preferably no more than five.

## Return Value

Return Value A new INPaymentAccountResolutionResult object.

## Discussion

Discussion Use this method when you cannot resolve the user account uniquely and need the user to select from a limited set of possible options.

## See Also

### Creating a Resolution Result Object

- [success(with:)](intents/inpaymentaccountresolutionresult/success(with:).md)
- [confirmationRequired(with:)](intents/inpaymentaccountresolutionresult/confirmationrequired(with:).md)
