Loading TOC...
Matches for cat:function/xquery (cat:function (cat:function/xquery (cat:function (cat:function)))) have been highlighted. remove

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