Nothing happens, as I expected the following line to display the PassExp varible, via the following code:
"<TD valign=top><center><font face=arial color=white><b><h2>Your network password expires in " & PassExp & " day(s)" & "</b><br>" &_
I would like to add the following code to a hta login script and need some help:
Function PasswordExpires(strDomain,strUser)
On Error Resume Next
Dim objUser
Set objUser=GetObject("WinNT://" & strDomain & "/" & strUser & ",user")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.