Loading TOC...

MarkLogic 10 Product Documentation
xdmp.getCurrentUserid

xdmp.getCurrentUserid() as (Number|String)

Summary

Returns the ID of the current user.

Example

xdmp.getCurrentUserid();
=> 23987236

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