SimpleMembershipProvider.GetCreateDate(String) Method

Definition

Returns the date and time when the specified user account was created.

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

Parameters

userName
String

The user name of the account.

Returns

The date and time on which the user account was created, or MinValue if the user account creation date is not available.

Exceptions

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

Applies to