Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: wntUserGetDat
Can you help please?
wntUserGetDat from the "The list of fixes and improvements file":
Added new "elements" to wntUserGetDat: "last_logon" (s): last logon time, in "YYYY:MM:DD:hh:mm:ss" format "last_logoff" (s): last logoff time, in "YYYY:MM:DD:hh:mm:ss" format These times are maintained separately on each Backup Domain Controller (BDC) in the domain. To get an accurate value, each BDC in the domain must be queried, and the largest value is used. The return value will always contain a 4-digit year. If no value is available, "0000:00:00:00:00:00" is returned. Note: These elements cannot be set using wntUserAddDat or wntUserSetDat.In the 98-99 version of WinBatch:
wntUserGetDat(server, user, "last_logon")Returns time in "YYYY:MM:DD:hh:mm:ss" format. Needs WinBatch 98D or higher. See FIXES text file for more info. These times are maintained separately on each Backup Domain Controller (BDC) in the domain. To get an accurate value, each BDC in the domain must be queried, and the largest value is used.
The return value will always contain a 4-digit year. If no value is available, "0000:00:00:00:00:00" is returned.
Note: These elements cannot be set using wntUserAddDat or wntUserSetDat.
Article ID: W14272
Filename: wxxUserGetDat and Last Logon Date.txt
File Created: 1999:10:26:11:22:56
Last Updated: 1999:10:26:11:22:56