I need to set a user must to change his password at next logon
Hi!!
Sorry! I need to set a user must to change his password at next logon.
I have used this vbs code, but it doesn´t work:
Set user = GetObject("LDAP://CN=" & usu & ",OU=" & nivel
&",OU=XX,OU=YY,DC=ZZ,DC=UU")
user.SetPassword "Password"
user.SetInfo
user.Put "pwdLastSet", 0
user.SetInfo
Someone has any idea.??
Thank You very much.
Regards.
|