SimpleMembershipProvider.GetPasswordChangedDate(String) Method

Definition

Returns the date and time when the password was most recently changed for the specified membership account.

public override DateTime GetPasswordChangedDate (string userName);
override this.GetPasswordChangedDate : string -> DateTime
Public Overrides Function GetPasswordChangedDate (userName As String) As DateTime

Parameters

userName
String

The user name of the account.

Returns

The date and time when the password was more recently changed for this account, or MinValue if the password has never been changed for this membership account.

Exceptions

The user specified by userName does not have a membership account.

Applies to