---
title: "disambiguation(with:)"
framework: intents
role: symbol
role_heading: Type Method
path: "intents/inrestaurantguestresolutionresult/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 restaurantGuestsToDisambiguate: [INRestaurantGuest]) -> Self
```

## Parameters

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

## Return Value

Return Value A new INRestaurantGuestResolutionResult object.

## Discussion

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

## See Also

### Creating a Resolution Result Object

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