MarkLogic 9 Product Documentation
xdmp.getCurrentUseridxdmp.getCurrentUserid() as (Number|String)
Summary
Returns the ID of the current user.
Example
xdmp.getCurrentUserid();
=> 23987236
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.