<!--
{
  "availability" : [
    "tvOS: 16.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TVServices",
  "identifier" : "/documentation/TVServices/TVUserManager/shouldStorePreferencesForCurrentUser",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "TV Services"
    ],
    "preciseIdentifier" : "c:objc(cs)TVUserManager(py)shouldStorePreferencesForCurrentUser"
  },
  "title" : "shouldStorePreferencesForCurrentUser"
}
-->

# shouldStorePreferencesForCurrentUser

A Boolean value that indicates whether your app needs to retain a selected profile.

```
var shouldStorePreferencesForCurrentUser: Bool { get }
```

## Discussion

> Important:
> To create a ``doc://com.apple.tvservices/documentation/TVServices/TVUserManager`` object, add the <doc://com.apple.documentation/documentation/BundleResources/Entitlements/com.apple.developer.user-management> to your app or app extension, and select the Runs as Current User, Only When User-Independent Keychain is Available option.

Some apps rely on profiles to maintain separate information for each person who uses a shared device, such as a video content app that retains which shows they watch. To avoid interrupting people with a profile picker each time they launch your app, you can save the current user’s selection on a shared device. After someone selects a profile, use [`shouldStorePreferencesForCurrentUser`](/documentation/TVServices/TVUserManager/shouldStorePreferencesForCurrentUser) to determine whether to retain the profile selection or to prompt each time your app launches. This property might be <doc://com.apple.documentation/documentation/Swift/false> if people share a device, but don’t configure multiple users on that device.

If the property’s value is <doc://com.apple.documentation/documentation/Swift/false>, display the profile picker to determine which profile to use for the current session, but don’t save the selected profile. If the value is <doc://com.apple.documentation/documentation/Swift/true>, and there isn’t a saved profile in <doc://com.apple.documentation/documentation/Foundation/UserDefaults>, display the profile picker and save the selected profile for future use. If the value is <doc://com.apple.documentation/documentation/Swift/true> and there’s already a saved profile, skip the prompt and use the saved profile.

> Tip:
> When your app runs in tvOS 15 or earlier, where ``doc://com.apple.tvservices/documentation/TVServices/TVUserManager/shouldStorePreferencesForCurrentUser`` isn’t available, display the profile picker at the beginning of each session.

---

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)