MarkLogic 12 EA 1 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.