---
title: localIdentifier
framework: networkextension
role: symbol
role_heading: Instance Property
path: networkextension/nevpnprotocolipsec/localidentifier
---

# localIdentifier

A string identifying the iOS or macOS device for authentication purposes

## Declaration

```swift
var localIdentifier: String? { get set }
```

## See Also

### Accessing IPSec properties

- [authenticationMethod](networkextension/nevpnprotocolipsec/authenticationmethod.md)
- [NEVPNIKEAuthenticationMethod](networkextension/nevpnikeauthenticationmethod.md)
- [useExtendedAuthentication](networkextension/nevpnprotocolipsec/useextendedauthentication.md)
- [sharedSecretReference](networkextension/nevpnprotocolipsec/sharedsecretreference.md)
- [remoteIdentifier](networkextension/nevpnprotocolipsec/remoteidentifier.md)
