Aspose::Pdf::Document::ChangePasswords method
Document::ChangePasswords method
Changes document passwords. This action can be done only using owner password.
void Aspose::Pdf::Document::ChangePasswords(const System::String &ownerPassword, const System::String &newUserPassword, const System::String &newOwnerPassword)
| Parameter | Type | Description |
|---|---|---|
| ownerPassword | const System::String& | Owner password. |
| newUserPassword | const System::String& | New user password. |
| newOwnerPassword | const System::String& | New owner password. |
See Also
- Class String
- Class Document
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++