tags:

views:

84

answers:

1

I need to make sure that users with expired passwords can change their password through this utility.

Is there a way to make my password expire and test it? I have the virtual directory configured for anonymous access, so that anyone can access the page.

+1  A: 

You can use the System.DirectoryServices.AccountManagement namespace to manipulate user accounts to flexibly expire and refresh passwords programmatically.

I have successfully been able to expire users' passwords and then use the IISADMPWD pages to reset it.

Jeffaxe