sec:query-rolesets-collection() as xs:string
This function returns the collection of query rolesets.
http://marklogic.com/xdmp/privileges/query-roleset-collection
This function must be executed against the Security database.
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: Get the most useful answers to questions from the MarkLogic community, or ask your own question.