<!--
{
  "availability" : [
    "iOS: 27.3.0 -",
    "iPadOS: 27.3.0 -",
    "macOS: 27.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/Product/SubscriptionInfo/MultiSeatDataSharingConsentEligibility-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "s:8StoreKit7ProductV16SubscriptionInfoV38MultiSeatDataSharingConsentEligibilityO"
  },
  "title" : "Product.SubscriptionInfo.MultiSeatDataSharingConsentEligibility"
}
-->

# Product.SubscriptionInfo.MultiSeatDataSharingConsentEligibility

Values that indicate whether you can request consent to share group information for a subscription group.

```
enum MultiSeatDataSharingConsentEligibility
```

## Overview

Group information is the membership of a multiseat subscription’s group. Data sharing consent applies only to subscriptions that use Apple-hosted invitations. Only the group purchaser can choose whether to share group information with you, and they can change the choice at any time in Manage Subscriptions. While they share it, the group appears in the responses from <doc://com.apple.documentation/documentation/AppStoreServerAPI/Get-Customer-Groups> and <doc://com.apple.documentation/documentation/AppStoreServerAPI/Get-Group-Members> in the App Store Server API.

Check the eligibility each time before you present the data sharing consent sheet, so you ask only the group purchaser. If you haven’t checked it since the sheet was last presented, presenting the sheet throws [`StoreKitError.unsupported`](/documentation/StoreKit/StoreKitError/unsupported). If the value is [`Product.SubscriptionInfo.MultiSeatDataSharingConsentEligibility.ineligible(_:)`](/documentation/StoreKit/Product/SubscriptionInfo/MultiSeatDataSharingConsentEligibility-swift.enum/ineligible(_:)), its associated value tells you the reason. StoreKit might add eligibility values in the future, so include an `@unknown default` case when you switch over the eligibility.

The following example checks the eligibility before it presents the sheet in UIKit:

```swift
func requestGroupInformationConsent(
    for subscription: Product.SubscriptionInfo,
    from viewController: UIViewController
) async throws {
    guard try await subscription.multiSeatDataSharingConsentEligibility == .eligible else {
        return
    }
    try await AppStore.presentMultiSeatDataSharingConsentSheet(
        from: viewController,
        subscriptionGroupID: subscription.subscriptionGroupID
    )
}
```

In AppKit, call [`presentMultiSeatDataSharingConsentSheet(from:subscriptionGroupID:)`](/documentation/StoreKit/AppStore/presentMultiSeatDataSharingConsentSheet(from:subscriptionGroupID:)-3j1t4). In SwiftUI, use the <doc://com.apple.documentation/documentation/SwiftUI/View/multiSeatDataSharingConsentSheet(isPresented:subscriptionGroupID:onCompletion:)> view modifier. For more information, see [Show the group in your app](/documentation/StoreKit/supporting-multiseat-purchases-in-your-app#Show-the-group-in-your-app).

## Topics

### Identifying the eligibility

[`case eligible`](/documentation/StoreKit/Product/SubscriptionInfo/MultiSeatDataSharingConsentEligibility-swift.enum/eligible)

A value that indicates that the person signed in to the App Store can choose whether to share group information with you.

[`case ineligible(Product.SubscriptionInfo.MultiSeatDataSharingConsentEligibility.IneligibilityReason)`](/documentation/StoreKit/Product/SubscriptionInfo/MultiSeatDataSharingConsentEligibility-swift.enum/ineligible(_:))

A value that indicates that the person signed in to the App Store can’t choose whether to share group information with you.

### Getting the reason

[`struct IneligibilityReason`](/documentation/StoreKit/Product/SubscriptionInfo/MultiSeatDataSharingConsentEligibility-swift.enum/IneligibilityReason)

Reasons that you can’t request consent to share group information.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)