cancel
Showing results for 
Search instead for 
Did you mean: 

Content Automation : How to Block permisions inheritance programmaticaly

vieville_
Champ in-the-making
Champ in-the-making

Hello, I am looking a way, using the automation api, to block inheritance from a specific document...

I only found Document.RemoveACL and Document.SetACE : they both seem to not be able to do what i need.

Is there a way to do that ?

Thank you for your help

3 REPLIES 3

bruce_Grant
Elite Collaborator
Elite Collaborator

I think those are the only two functions you need. On the current document use Document.RemoveACL to remove the ACL 'local'. Then use Document.SetACE with grant = false for everyone for everything on local. And then use Document.SetACE to grant = true the permissions you do want on the document. I have had no need to try this but it mirrors the programmatic approach.

See the automation operations index for details.

Thank you very much for your precise answer to my question.

It should reflect it. Have you done a refresh in the UI? Have you used the "local" ACL?

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.