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)
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy