Loading TOC...

alert.ruleGetUserId

alert.ruleGetUserId(
   $rule as Object
) as String

Summary

This function returns the user ID of a given rule.

Parameters
$rule The representation of a rule.

Example

  var alert = require("/MarkLogic/alert.xqy");

  alert.ruleGetUserId(
       alert.getAllRules("http://acme.com/alert/message-board", cts.wordQuery("dna"))[0])

  => 7071164303237443533
  

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.