Loading TOC...

MarkLogic Server 11.0 Product Documentation
flexrep:configuration-target-get-user-id

flexrep:configuration-target-get-user-id(
   $cfg as element(flexrep:configuration),
   $target-id as xs:unsignedLong
) as xs:unsignedLong?

Summary

Get the user ID associated with a target, if one exists. Only query-based targets have an associated user ID.

Parameters
cfg The replication configuration.
target-id The target ID.

Example


xquery version "1.0-ml"; 
 
import module namespace flexrep = "http://marklogic.com/xdmp/flexible-replication" 
      at "/MarkLogic/flexrep.xqy";

flexrep:configuration-target-get-user-id($cfg, $target-id)
    

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