Export (0) Print
Expand All

SimpleMembershipProvider.GetPasswordChangedDate Method

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

Namespace:  WebMatrix.WebData
Assembly:  WebMatrix.WebData (in WebMatrix.WebData.dll)

public override DateTime GetPasswordChangedDate(
	string userName
)

Parameters

userName
Type: System.String
The user name of the account.

Return Value

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

ExceptionCondition
InvalidOperationException

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

Show:
© 2014 Microsoft