Re: Change PasswordLastChanged value
- From: "Michael Harris \(MVP\)" <mikhar at mvps dot org>
- Date: Thu, 21 Dec 2006 16:11:11 -0800
Andre Thomasse wrote:
I use the following script to change the value. But i receive the
following error: Wrong number of arguments or invalid property
assignment 'objUser.PasswordLastchanged'
someone any ideas or suggestion?
Set objUser = GetObject("LDAP://cn=lizzy van
beek,ou=test,ou=totallan,dc=totallan,dc=nl")
objUser.PasswordLastChanged = "01/11/2006 05:01:01 PM"
objUser.SetInfo
Not too surprising since it is a read only property...
IADsUser.IADsUser Property Methods [ADSI]
<http://msdn.microsoft.com/library/en-us/adsi/adsi/iadsuser_property_methods.asp?frame=true>
--
Michael Harris
Microsoft MVP Scripting
.
- Prev by Date: Create List Of Folder User Permissions
- Next by Date: Re: Script to list add all domain zones
- Previous by thread: Create List Of Folder User Permissions
- Next by thread: Robocopy error since migration 2000 -> 2003
- Index(es):
Relevant Pages
|
Loading