Loading TOC...

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.

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.