I found the below article. It looks like you can use a WMI call.
Find out who logged on to a computer | Remote Administration For Windows
I found the below article. It looks like you can use a WMI call.
Find out who logged on to a computer | Remote Administration For Windows