Loading TOC...

xdmp:logout

xdmp:logout() as empty-sequence()

Summary

Logs the current user out of the session on the server. The result is that the current user is set to the default user defined in application-level authentication. The session remains on the server until it expires.

Example

xdmp:logout()
=> ()

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