view.collection() as String
This function return the URI of the protected collection holding all the views.
const view = require('/MarkLogic/views'); view.collection(); // Returns the URI of the protected collection holding all of the views.