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.

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.
  • How can I explicitly log out of the query console ? Usecase: I am logged in as user01 and now I want to login as user02.
    • The Query Console interface provides a user logout capability. In the upper right corner of the interface you'll see: https://uploads.disquscdn.com/images/5e5dd2fbdac602f573db655d841e9bd04115516ebad2fa2c384f99a9a65ad3c9.png
      • I am on Marklogic 9.0.2 in chrome or firefox browser I do not see this option? https://uploads.disquscdn.com/images/0dc59727d3100525a1528aa1c04fb5cbbc17642597fecf1ae871bf84078eed94.png