Execute Privilege
An execute privilege provides the authority to perform a protected action. Examples of protected actions are the ability to execute a specific user-defined function, the ability to execute a built-in function (for example, xdmp:document-insert
), and so on. For details on execute privileges, see Protecting XQuery and JavaScript Functions with Privileges.