flexrep:configuration-target-get-user-id( $cfg as element(flexrep:configuration), $target-id as xs:unsignedLong ) as xs:unsignedLong?
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. |
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: Get the most useful answers to questions from the MarkLogic community, or ask your own question.