MarkLogic 9 Product Documentation
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()
=> ()
Powered by MarkLogic Server | Terms of Use | Privacy Policy