---
title: identity()
framework: securityinterface
role: symbol
role_heading: Instance Method
path: securityinterface/sfchooseidentitypanel/identity()
---

# identity()

Returns the identity that the user chose in the panel or sheet.

## Declaration

```swift
func identity() -> Unmanaged<SecIdentity>!
```
