MembershipUser::CreationDate Property

 

Gets the date and time when the user was added to the membership data store.

Namespace:   System.Web.Security
Assembly:  System.Web.ApplicationServices (in System.Web.ApplicationServices.dll)

public:
property DateTime CreationDate {
	virtual DateTime get();
}

Property Value

Type: System::DateTime

The date and time when the user was added to the membership data store.

The SqlMembershipProvider sets the CreationDate, LastLoginDate, LastActivityDate, and LastPasswordChangedDate date to the same date and time when a membership user is created by the CreateUser method.

The following code example displays all membership user names in a ListBox and uses labels to show specific membership information for the selected user name, including the CreationDate property for the membership user.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: