DocumentChangePasswords Method
Changes document passwords. This action can be done only using owner password.

Namespace: Aspose.Pdf
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.10
Syntax
public void ChangePasswords(
	string ownerPassword,
	string newUserPassword,
	string newOwnerPassword
)

Parameters

ownerPassword
Type: SystemString
Owner password.
newUserPassword
Type: SystemString
New user password.
newOwnerPassword
Type: SystemString
New owner password.
See Also