Loading TOC...

MarkLogic Server 11.0 Product Documentation
sec:query-rolesets-collection

sec:query-rolesets-collection() as xs: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



xquery version "1.0-ml";  
import module namespace sec = "http://marklogic.com/xdmp/security" 
      at "/MarkLogic/security.xqy";
	  
sec:query-rolesets-collection()
=>
http://marklogic.com/xdmp/query-rolesets 
    

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