Loading TOC...

xdmp.userLastLogin

xdmp.userLastLogin(
   [$user as String]
) as Object?

Summary

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

Parameters
$user A user ID.

Example

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

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy