Click here to Skip to main content
15,896,726 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Hi all
I wanna use MembershipUser class in .net4(Visaul studio 2010) , but when define system.web namespace , couldn't access to that. but in Visual studio 2008 do this. I search in the Microsoft asp.net forum , says use the System.Web.ApplicationServices
but when define in code behind as "using System.Web.ApplicationServices" , but yet don't access to membershipUser Class.

thanks a lot.
Posted
Comments
sashje- 3-Jun-15 6:46am    
You need to also add a reference to that dll

1 solution

MembershipUser is in namespace System.Web.Security
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900