AuthenticablePrincipal.ExpirePasswordNow Method ()


Expires the password for this account. This will force the user to change his/her password at the next logon.

Namespace:   System.DirectoryServices.AccountManagement
Assembly:  System.DirectoryServices.AccountManagement (in System.DirectoryServices.AccountManagement.dll)

Public Sub ExpirePasswordNow

Exception Condition

An exception occurred when saving the changes to the store.

Call this method to force the user to change the password at the next logon.

.NET Framework
Available since 3.5

AuthenticablePrincipal Class
System.DirectoryServices.AccountManagement Namespace Overview

Return to top