MarkLogic 12 EA 1 Product Documentation
xdmp.getCurrentUser

xdmp.getCurrentUser() as String?

Summary

Returns the name of the current user.

Example

xdmp.getCurrentUser();
=> "ian"
Powered by MarkLogic Server | Terms of Use | Privacy Policy