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