
sec.protectedPathsCollection() as String
This function returns the collection of protected paths.
http://marklogic.com/xdmp/privileges/protected-paths-collection
  
const sec = require('/MarkLogic/security.xqy');
	  
sec.protectedPathsCollection()
=>
http://marklogic.com/xdmp/protected-paths