
sec:protected-paths-collection() as xs:string
This function returns the collection of protected paths.
http://marklogic.com/xdmp/privileges/protected-paths-collection
  
xquery version "1.0-ml"; 
import module namespace sec = "http://marklogic.com/xdmp/security" 
      at "/MarkLogic/security.xqy";
	  
sec:protected-paths-collection()
=>
http://marklogic.com/xdmp/protected-paths 	  
 
    
  
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.