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