Take the 2-minute tour ×

In ASP.NET MVC 3 with Default Membership Provider I would create relationships with

public virtual Guid UserGuid { get; set; }
public virtual MembershipUser User
        return Membership.GetUser(UserGuid);

In ASP.NET MVC 4 with Simple Membership Provider what is the equivalent method of Membership.GetUser() and class MembershipUser that are compatible with SMP?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

you need the websecurity class http://www.w3schools.com/aspnet/webpages_ref_websecurity.asp

share|improve this answer
Thanks that works. –  flean Sep 18 '12 at 17:14
add comment

Your Answer


