Hi guys,
i need some help over here.
I need c# codes which link to active directory that force users to change their password when log in.
Will be grateful if anyone could help. Thanks! ^^
Force users to change password when log in
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

harry krish2 reputationPosted Jul 27, 2010, 8:07 AM EDT
where is the user login information stored?
if the user information is stored in a database thn you can follow the below approach
--> add a new column like "isPasswordChangeRequired" in the user table
--> set the value of this field to 1 or 0
* 1 for password change required
* 0 for password change not required
--> in the application add a code to verify the value of this column to the respective login user. if it is set to 1 thn re-direct or promp the user to change the password and once the password is changed update the column in the database to 0. so that it won't prompt for password change in the second login if the user changes the password successfully.
:)