Loading TOC...

xdmp.ampRoles

xdmp.ampRoles(
   $namespace-uri as String,
   $localname as String,
   $document-uri as String,
   $database-id as String
) as ValueIterator

Summary

Returns the set of all roles assigned to an amp, including roles directly assigned to the amp and roles inherited by other roles.

Parameters
$namespace-uri The amped function namespace URI.
$localname The amped function localname.
$document-uri The amped function module URI.
$database-id The database ID containing the module.

Required Privileges

http://marklogic.com/xdmp/privileges/xdmp-amp-roles

Example

xdmp.ampRoles("http://marklogic.com",
                 "read-docs",
                 "/app/docs.xqy",
                 239487239487);
=> ValueIterator(2349872340, 432987324)

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy