Loading TOC...

xdmp.access

xdmp.access(
   $uri as String,
   $action as String
) as Boolean

Summary

Returns whether a given action on the specified document URI would succeed.

Parameters
$uri The document URI.
$action The type of access: "create", "insert", "update", "node-update" or "execute".

Example

  xdmp.access(
         "http://example.com/foo.xml",
         "create");
   => true

Comments

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