admin:search-dynamic-host-token( $comment-match-pattern as xs:string?, $match-flags as xs:string?, $token-issue-start-date as xs:dateTime?, $token-issue-end-date as xs:dateTime? ) as xs:string*
The function searches for active dynamic host tokens issued by MarkLogic, filtering by date range and regular expression of the comments
http://marklogic.com/xdmp/privileges/admin/search-dynamic-host-token
xquery version "1.0-ml"; import module namespace admin = "http://marklogic.com/xdmp/admin" at "/MarkLogic/admin.xqy"; admin:search-dynamic-host-token("comments.?", (), xs:dateTime("2025-01-27T06:50:00"), xs:dateTime("2025-01-27T13:50:00"))
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.