ADSI – Getting lastLogon property for computer from Active Directory?
How can I retrieve the lastLogon
attribute for the computers via Active Directory? If I go to the server and open a computer in the Active Directory snap-in, I can see it under the Attribute Editor
tab.
unresolved external symbol IID_IADs?
I’m trying out the sample program below, but it won’t link because of unresolved external symbol for both IID_IADs
and IID_IADsContainer
.