dom:remove-permissions( $domain-name as xs:string, $permissions as item()* ) as empty-sequence()
Remove permissions to the domain. An error is raised if the domain cannot be found. The triggers associated with the domain will be modified also.
xquery version "1.0-ml"; import module namespace dom = "http://marklogic.com/cpf/domains" at "/MarkLogic/cpf/domains.xqy"; dom:remove-permissions( "Incoming", xdmp:permission("development", "read") )
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.