Loading TOC...

MarkLogic Server 11.0 Product Documentation
xdmp:get-current-userid

xdmp:get-current-userid() as xs:unsignedLong

Summary

Returns the ID of the current user.

Example

xdmp:get-current-userid()
=> 23987236

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