---
title: TVUserIdentifier
framework: tvservices
role: symbol
role_heading: Type Alias
path: tvservices/tvuseridentifier
---

# TVUserIdentifier

A unique string for differentiating between accounts on Apple TV.

## Declaration

```swift
typealias TVUserIdentifier = String
```

## Discussion

Discussion This type stores an ASCII string containing no more than 64 characters. The string isn’t the same as the user’s Apple ID, and you should never display it in your app’s interface. It’s a random string generated by the TVUserManager object and shared among the Apple TV devices on the user’s HomeKit network. You use it to differentiate between different accounts on the same Apple TV.

## See Also

### Deprecated symbols

- [currentUserIdentifier](tvservices/tvusermanager/currentuseridentifier.md)
- [currentUserIdentifierDidChangeNotification](tvservices/tvusermanager/currentuseridentifierdidchangenotification.md)
- [presentProfilePreferencePanel(currentSettings:availableProfiles:completion:)](tvservices/tvusermanager/presentprofilepreferencepanel(currentsettings:availableprofiles:completion:).md)
- [shouldStorePreferenceForCurrentUser(to:completion:)](tvservices/tvusermanager/shouldstorepreferenceforcurrentuser(to:completion:).md)
- [TVAppProfileDescriptor](tvservices/tvappprofiledescriptor.md)
- [userIdentifiersForCurrentProfile](tvservices/tvusermanager/useridentifiersforcurrentprofile.md)
