MarkLogic Server 11.0 Product Documentation
xdmp:get-current-userxdmp:get-current-user() as xs:string?
Summary
Returns the name of the current user.
Example
xdmp:get-current-user();
=> "ian"
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.