Loading TOC...

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