Loading TOC...

MarkLogic 12 EA 1 Product Documentation
sec.queryRolesetsId

sec.queryRolesetsId(
   rolesets as element(sec.queryRolesets)
) as (Number|String)

Summary

This function returns the ID of a query-rolesets.

Parameters
rolesets the query-rolesets

Example


 
const sec = require('/MarkLogic/security.xqy');

sec.queryRolesetsId(sec.queryRolesets(sec.queryRoleset("els-role-1")))
 
    

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