---
title: ownerPasswordOption
framework: pdfkit
role: symbol
role_heading: Type Property
path: pdfkit/pdfdocumentwriteoption/ownerpasswordoption
---

# ownerPasswordOption

An NSString object for the owner’s password which is required for encryption.

## Declaration

```swift
static let ownerPasswordOption: PDFDocumentWriteOption
```

## See Also

### Getting Write Option Properties

- [userPasswordOption](pdfkit/pdfdocumentwriteoption/userpasswordoption.md)
