sec:query-rolesets-id( $rolesets as element(sec:query-rolesets) ) as xs:unsignedLong
This function returns the ID of a query-rolesets.
Parameters | |
---|---|
rolesets | the query-rolesets |
xquery version "1.0-ml"; import module namespace sec = "http://marklogic.com/xdmp/security" at "/MarkLogic/security.xqy"; sec:query-rolesets-id(sec:query-rolesets(sec:query-roleset("els-role-1")))
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.