MarkLogic 9 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