---
title: userIdentity()
framework: corespotlight
role: symbol
role_heading: Instance Method
path: corespotlight/contactresolver/useridentity()
---

# userIdentity()

Returns the current user’s contact information.

## Declaration

```swift
func userIdentity() -> ResolvedContact
```
