I’m using ASP .NET MVC 2.0 with the default membership provider. How would I go about retrieving the name of the latest registered approved member?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As far as I can tell there are no ‘out of the box’ methods of the
Membershipclass that allow you to do this.You will need to run a custom query or stored procedure against the
aspnet_Membershiptable using either ADO.NET or your preferred ORM. The key columns you need to query against areCreateDateandIsApproved.