flexrep:configuration-domain-ids() as xs:unsignedLong*
This function returns the IDs of the domains configured for the Master database.
xquery version "1.0-ml"; import module namespace flexrep = "http://marklogic.com/xdmp/flexible-replication" at "/MarkLogic/flexrep.xqy"; flexrep:configuration-domain-ids ( ) (: Returns the IDs of the domains used by the database on which the query is executed. )
http://marklogic.com/xdmp/privileges/flexrep-admin