updateDocSecurity() doesn't seem to be documented correctly and is not executing as expected in these scenarios:
pdfDoc.updateDocSecurity("123456", "123456", "RC4", "OPEN")
returns this error:
TypeError: updateDocSecurity() takes from 2 to 4 positional arguments but 5 were given
pdfDoc.updateDocSecurity("123456", "123456", "RC4")
results in the process running forever.
pdfDoc.updateDocSecurity("", "", "RC4")
results in the process running successfully.
Any idea what's going on?
ArcGIS Pro 2.8.3