---
title: isMandatory
framework: networkextension
role: symbol
role_heading: Instance Property
path: networkextension/nevpnikev2ppkconfiguration/ismandatory
---

# isMandatory

A Boolean value that indicates whether it’s mandatory for the VPN server to use this PPK.

## Declaration

```swift
var isMandatory: Bool { get set }
```

## Discussion

Discussion The default value is true.

## See Also

### Accessing the configuration parameters

- [identifier](networkextension/nevpnikev2ppkconfiguration/identifier.md)
- [keychainReference](networkextension/nevpnikev2ppkconfiguration/keychainreference.md)
