MarkLogic 10 Product Documentation
xdmp:get-current-user

xdmp:get-current-user() as xs:string?

Summary

Returns the name of the current user.

Example

xdmp:get-current-user();
=> "ian"
Powered by MarkLogic Server | Terms of Use | Privacy Policy