WSH code
- From: "Houdini" <Houdini@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 5 May 2005 13:10:21 -0700
I have the below code:
objUserFlags = objUser.Get("UserFlags")
objPasswordExpirationFlag = objUserFlags OR ADS_UF_DONT_EXPIRE_PASSWD
objUser.Put "userFlags", objPasswordExpirationFlag
objUser.SetInfo
I need the opposite of the second line that would allow the password to
expire.
Thx
Houdini
.
- Follow-Ups:
- Re: WSH code
- From: Michael Harris \(MVP\)
- Re: WSH code
- Prev by Date: Re: Problem with script to add printers ports, need help.
- Next by Date: Re: Problem with script to add printers ports, need help.
- Previous by thread: Add a domain user group to local computer administrator group
- Next by thread: Re: WSH code
- Index(es):