Is there any way to protect/unprotected a Word document by password programmatically using office.js
?
I have checked the API documentation (https://github.com/OfficeDev/office-js-docs/blob/WordJs_1.4_OpenSpec/reference/word/body.md#getrangerangelocation-string) of OfficeJS. But do not get any clue.
Any types of tip/help is welcome !
Unfortunately that's not possible to achieve with the API. Please share this request in our user voice channel.