IADsUser Property: LastLogoff

Property Name
LastLogoff

Property Type
Date

Description
Gets the time and date of the last network logoff. The time specified by this property is with reference to the time zone of the client computer. The client computer is the one from where the script is run.
This property is read-only.

Remarks
A value of 19/8/9999 means that the last logoff time is unknown.

Example

Dim UserObject As IADsUser
Set UserObject = GetObject("NTDS://DomainName/UserName")
Debug.Print UserObject.LastLogoff

 

See Also