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)
ParameterTypeDescription
ownerPasswordconst System::String&Owner password.
newUserPasswordconst System::String&New user password.
newOwnerPasswordconst System::String&New owner password.

See Also