Setting the LastPasswordSet date for a user in Active Directory

Posted by Ben Aston on Stack Overflow See other posts from Stack Overflow or by Ben Aston
Published on 2010-05-25T13:55:38Z Indexed on 2010/05/25 14:01 UTC
Read the original article Hit count: 311

I want to set the LastPasswordSet attribute of a user in Microsoft Active Directory.

The .NET UserPrincipal API exposes the LastPasswordSet property as readonly.

Is there a way around this, to set the value (perhaps using ADSI)?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about active-directory