Hey guys!
I have a question - I am fairly new to this whole VB thing (other than lots of fun VB Script) so please be gentle.![]()
What I am trying to do is to access a machine using different credentials than the one currently logged into and ask for information regarding the password (such as when it was set, and when it will expire). I know you can do this easily when you are asking the domain controller, but I want to ask a specific machine about a user on that machine, not a domain user.
I was hoping there was something similar to the following code:
VB Code:
Dim objDomain = GetObject("LDAP://" & objADSystemInfo.DomainDNSName) Dim objMaxPwdAge = objDomain.Get("maxPwdAge")
Is that possible? My search for information has been less than fruitful. Thanks for any info!


Reply With Quote