---
title: userInfo
framework: fileprovider
role: symbol
role_heading: Instance Property
path: fileprovider/nsfileproviderdomainstate/userinfo
---

# userInfo

Global state information about the current domain version.

## Declaration

```swift
var userInfo: [AnyHashable : Any] { get }
```

## Discussion

Discussion Use this dictionary to add state information to the domain. You can then access the userInfo dictionary in predicates for user interactions, file provider actions, and File Provider UI actions using the domainUserInfo context key. This dictionary must only contain the following types for both its keys and values: NSString NSNumber NSDate NSPersonNameComponents The system expects you to update the domainVersion whenever the value of the userInfo dictionary changes.

## See Also

### Accessing State Data

- [domainVersion](fileprovider/nsfileproviderdomainstate/domainversion.md)
