Score:0

Are LocalUser.LastLogon updated with IIS FTP logins?

ru flag

I'm trying to get a list of the latest users that connected to the IIS FTP server. I have an FTP group on my Windows 2008 R2 Server.

Get-LocalGroupMember -Group FTP | Select-Object LastLogon

I know that I can check recent FTP logins with the FTP log file, but each LocalUser has a LastLogon property. Is this property updated when someone uses its account to connect to the FTP server?

Score:0
ru flag

I ran the test myself. It is indeed the case.

However, this technique doesn't allow us to know whether the last logon was a Windows login or an FTP login (to my current knowledge). But that's not really important for my use case anyways.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.