MarkLogic 10 Product Documentation
sec.queryRolesetsCollection

sec.queryRolesetsCollection() as String

Summary

This function returns the collection of query rolesets.

Required Privileges

http://marklogic.com/xdmp/privileges/query-roleset-collection

Usage Notes

This function must be executed against the Security database.

Example



const sec = require('/MarkLogic/security.xqy');
	  
sec.queryRolesetsCollection()
=>
http://marklogic.com/xdmp/queryRolesets 
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy