Loading TOC...

xdmp:can-grant-roles

xdmp:can-grant-roles(
   $roles as xs:string*
) as empty-sequence()

Summary

Tests whether a user can grant or revoke a set of roles. Raises an error if the session user can not.

Parameters
$roles A set of role names

Example

xdmp:can-grant-roles(("development", "qa"))

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

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.