Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Change PasswordLastchanged value

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,41351
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Change PasswordLastchanged value
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Change PasswordLastchanged value - 12/21/2006 6:59:04 AM   
  athomasse

 

Posts: 1
Score: 0
Joined: 12/21/2006
Status: offline
I "want" to 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
 
 
Post #: 1
 
 RE: Change PasswordLastchanged value - 12/21/2006 7:21:30 AM   
  ebgreen


Posts: 5246
Score: 31
Joined: 7/12/2005
Status: offline
Isn't that a read only property?

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to athomasse)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Change PasswordLastchanged value Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts