Previous Topic: LastPWChangeTime Method—Sets or Retrieves Time Password Last Changed

Next Topic: LoginFailures Method—Sets or Retrieves Number of Login Failures

LastLoginTime Method—Sets or Retrieves Last Login Time

The LastLoginTime method sets or retrieves the time that the user last logged in successfully. The time is represented as the number of seconds that have elapsed since a particular instant in time that varies from system to system. One common representation is the number of seconds that have elapsed since 00:00:00 1/1/1970 UTC (Coordinated Universal Time).

Syntax

The LastLoginTime method has the following format:

Netegrity::PolicyMgtUserPasswordState‑>LastLoginTime([time])

Parameters

The LastLoginTime method accepts the following parameter:

time (long)

(Optional) Specifies a new time for when the user last logged in successfully.

Return Value

The LastLoginTime method returns the following value:


Copyright © 2010 CA. All rights reserved. Email CA about this topic