DotnetSparrow
DotnetSparrow

Reputation: 27996

asp.net membership's user createdate

I am using asp.net membership and roles database. I want to know that that It has a users table. Is there any table in this database where user createdate is saved ? I see LastActivityDate column in aspnet_users table. Please suggest

Upvotes: 3

Views: 1087

Answers (2)

Kirill
Kirill

Reputation: 3088

You need aspnet_Membership.CreateDate.

If you're using a standard provider, you can get it like this:

        MembershipUser newUser = Membership.GetUser();
        DateTime creationDate = newUser.CreationDate;

Upvotes: 6

billb
billb

Reputation: 3619

It's on the aspnet_Membership table. The column is named CreateDate.

Upvotes: 2

Related Questions