Loading TOC...

xdmp.userLastLogin

xdmp.userLastLogin() as Object?

Summary

Returns the last-login node for the current user. If no last-login database is specified in the App Server configuration, then the empty sequence is returned.

Example

  xdmp.userLastLogin()
  => 
  {
    "userId":"1134406269933351074",
    "lastSuccessfulLogin":"2008-03-19T15:41:08",
    "lastUnsuccessfulLogin":"2008-03-19T15:40:45",
    "numberUnsuccessfulLogins":0,
    "displayLastLogin":true
  }

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

Comments