I'm creating a sample office word add-in and for that I went through the api documentation of office.js but i could not find How to change the permissions of Word document through program. We can change the permissions of document from the manifest.xml using a tag and get it in program using the mode property of document object. But in my case i need to change permissions from program.
1
votes
1 Answers
0
votes
The permissions you specify in the manifest are the permissions your add-in requires, they are not affecting any permissions on the document itself.
It isn't possible to manipulate the document's permissions from Office.js. I recommend visiting the UserVoice and adding your suggestion.