
flexrep:configuration-target-get-external-user( $cfg as element(flexrep:configuration), $target-id as xs:unsignedLong ) as element(extusr:external-user)?
This function returns the external user information for a target, if any exists.
There is no corresponding set function because the external user information is automatically
added by
configuration-target-set-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-external-user($cfg, $target-id)