MarkLogic Server 11.0 Product Documentation
xdmp.getCurrentUserxdmp.getCurrentUser() as String?
Summary
Returns the name of the current user.
Example
xdmp.getCurrentUser();
=> "ian"
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.