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 
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy