spotlight
     
     
WWWCoder.com Resource Directory

ADSI: Change an Account Password
9/24/2004 8:27:19 AM

ADSI script for changing the password for an account.


' accepts the old password and new password for changing.
Sub ChangePassword(strOldPassword, strNewPassword)
On Error Resume Next
Set oUser = GetObject(strDomain & "/" & strUSer)
oUser.Password = strNewPassword
oUser.SetInfo
Set oUser = Nothing
If Err <> 1 Then
strServerError = "Password change failed!"
End If
End Sub


Page Options:
format for printing  Format for Printer
email article  Email Page
add to your favorites   Add to Favorites
How would you rate the quality of this content?
Poor - - Excellent
Comments?
Overall Rating:
Comments Left:
Left on 10/26/2009 2:42:23 AM by Anonymous
Comments: Altogether obstructed by google ads.
Left on 5/18/2009 3:42:52 AM by Anonymous
Comments:
Left on 7/11/2005 5:50:45 PM by Anonymous
Comments: There is no password property
Left on 3/15/2005 9:01:15 AM by Anonymous
Comments: Where is the parameter for the strOldPassword used in the script?
     
     

 

 

     
     

 


 


Digg This
 


DotNetNuke Platinum Benefactor

 


 


Digg This
 


DotNetNuke Platinum Benefactor

     
     

Other family network sites: santry.com - katieandkarleigh.com

Powered by 

 

     
Copyright 20010 - Santry Technology Solutions, Box 172, Girard, PA 16417, (814) 774-0970
Privacy Statement | Terms Of Use