MarkLogic 12 EA 1 Product Documentation
xdmp.getCurrentUserid

xdmp.getCurrentUserid() as (Number|String)

Summary

Returns the ID of the current user.

Example

xdmp.getCurrentUserid();
=> 23987236
Powered by MarkLogic Server | Terms of Use | Privacy Policy