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")))