Loading TOC...

MarkLogic Server 11.0 Product Documentation
xdmp.getCurrentUser

xdmp.getCurrentUser() as String?

Summary

Returns the name of the current user.

Example

xdmp.getCurrentUser();
=> "ian"

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.