---
title: VSUserAccount
framework: videosubscriberaccount
role: symbol
role_heading: Structure
path: videosubscriberaccount/vsuseraccount-swift.struct
---

# VSUserAccount

An object that represents a user’s account.

## Declaration

```swift
struct VSUserAccount
```

## Overview

Overview There are two sources for a VSUserAccount instance: You create an instance when a person registers a new account or signs into an existing account in your app, and you call update(_:) on VSUserAccountManager with the instance. You fetch user accounts by calling userAccounts(options:), which can return user accounts created on the current device, or user accounts registered on all the devices signed into the person’s iCloud account.

## Topics

### Creating user accounts

- [init(accountType:updateURL:)](videosubscriberaccount/vsuseraccount-swift.struct/init(accounttype:updateurl:).md)
- [VSUserAccount.AccountType](videosubscriberaccount/vsuseraccount-swift.struct/accounttype-swift.enum.md)

### User account information

- [accountProviderIdentifier](videosubscriberaccount/vsuseraccount-swift.struct/accountprovideridentifier.md)
- [accountType](videosubscriberaccount/vsuseraccount-swift.struct/accounttype-swift.property.md)
- [authenticationData](videosubscriberaccount/vsuseraccount-swift.struct/authenticationdata.md)
- [billingIdentifier](videosubscriberaccount/vsuseraccount-swift.struct/billingidentifier.md)
- [deviceCategory](videosubscriberaccount/vsuseraccount-swift.struct/devicecategory.md)
- [VSUserAccount.OriginatingDeviceCategory](videosubscriberaccount/vsuseraccount-swift.struct/originatingdevicecategory.md)
- [identifier](videosubscriberaccount/vsuseraccount-swift.struct/identifier.md)
- [isFromCurrentDevice](videosubscriberaccount/vsuseraccount-swift.struct/isfromcurrentdevice.md)
- [isSignedOut](videosubscriberaccount/vsuseraccount-swift.struct/issignedout.md)
- [requiresSystemTrust](videosubscriberaccount/vsuseraccount-swift.struct/requiressystemtrust.md)
- [subscriptionBillingCycleEndDate](videosubscriberaccount/vsuseraccount-swift.struct/subscriptionbillingcycleenddate.md)
- [tierIdentifiers](videosubscriberaccount/vsuseraccount-swift.struct/tieridentifiers.md)
- [updateURL](videosubscriberaccount/vsuseraccount-swift.struct/updateurl.md)

### Instance Properties

- [appleSubscription](videosubscriberaccount/vsuseraccount-swift.struct/applesubscription.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### User account management

- [Signing people in to their media accounts automatically](videosubscriberaccount/signing-people-in-to-media-apps-automatically.md)
- [VSUserAccountManager](videosubscriberaccount/vsuseraccountmanager.md)
