Created
February 18, 2015 20:58
-
-
Save komainu85/ba0ee2003f85d7d9e465 to your computer and use it in GitHub Desktop.
Get Membership User From Sitecore Account
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class SitecoreAccountExtensions | |
{ | |
public static MembershipUser GetMembershipUser(this Account account) | |
{ | |
return Membership.GetUser(account.Name); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment