GetLastLogin(Integer) Method - Author-it On-Premises - Author-it

Author-it Development Documentation

Get the last login date and time for a user. This information is only stored if user access limiting is turned on.

Parameters

Name

Type

Description

userId

Integer

ID of user to get last login time for.

Returns

Type: DateTime

DateTime containing last login, or DateTime.MinValue if no login is found for this user.

Addresses

JSON: http://<Base Address>/UserAccount/json/GetLastLogin

JSON (for IIS): http://<Base Address>/UserAccount.svc/json/GetLastLogin