Register | Login
Friday, July 04, 2008

Sections
  
About Us
  
Hosting Provided by Server Intellect
Partners
Downloads
  
 WWWCoder.com Resource Directory

ADSI: Unlock an User Account
9/24/2004 8:24:44 AM

ADSI script to unlock a user account on your Windows domain.


CONST UF_LOCKOUT = &H0010

Sub UnlockAccount
Set oUser = GetObject(strDomain & "/" & strUser)
Flags = oUser.Get("UserFlags")
oUser.Put "UserFlags", Flags Xor UF_LOCKOUT
oUser.SetInfo
Set oUser = Nothing
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 6/12/2007 3:42:18 PM by Anonymous
Comments: doesnt work
Left on 11/22/2004 3:52:49 AM by Anonymous
Comments: use the alter user
No ratings available.
  

 Latest Articles
  

 Latest News
  

 

Spotlight
Syndication

 


 


Digg This
 


DotNetNuke Platinum Benefactor

  
 

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