Loading TOC...

xdmp:get-current-user

xdmp:get-current-user() as xs:string?

Summary

Returns the name of the current user.

Example

xdmp:get-current-user();
=> "ian"

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