MarkLogic 10 Product Documentation
xdmp:get-current-useridxdmp:get-current-userid() as xs:unsignedLong
Summary
Returns the ID of the current user.
Example
xdmp:get-current-userid()
=> 23987236
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.