Loading TOC...

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 
    

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.