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
Powered by MarkLogic Server | Terms of Use | Privacy Policy