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

# domain()

Returns the domain that will be associated with the chosen identity.

## Declaration

```swift
func domain() -> String!
```

## See Also

### Working with Domains

- [setDomain(_:)](securityinterface/sfchooseidentitypanel/setdomain(_:).md)
