Re: User account lockout by Jerry
Jerry
Fri Jul 11 05:58:08 CDT 2003
This has nothing to do with IIS.
Use ADSI. In VBScript:
Dim usr
Set usr = GetObject("WinNT://Domain/username,user")
usr.IsAccountLocked = False
usr.SetInfo
You can also use LDAP address string, such as LDAP://CN=Jeff
Smith,OU=Sales,DC=Fabrikam,DC=Com
Jerry
"Clifford Laubscher" <clifford@lando.co.za> wrote in message
news:056301c3477b$cc93e5a0$a601280a@phx.gbl...
> After setting additional security for user accounts, all
> existing user accounts have been set to be locked out. I
> have many user accounts, and would like some help with
> unlocking them by means of an automated feature if
> something like this is possible.
>
> Thanx