---
title: userInfo
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/cachedurlresponse/userinfo
---

# userInfo

The cached response’s user info dictionary.

## Declaration

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

## Mentioned in

Accessing cached data

## Discussion

Discussion This value is nil if there is no user info dictionary.

## See Also

### Getting cached URL response properties

- [data](foundation/cachedurlresponse/data.md)
- [response](foundation/cachedurlresponse/response.md)
- [storagePolicy](foundation/cachedurlresponse/storagepolicy.md)
