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)