internal static IMembershipUser AsIMember(this UmbracoMembershipMember membershipMember)
        {
            var member = membershipMember;

            if (member != null)
            {
                return(member.Member);
            }

            throw new NotImplementedException();
        }
 internal static MembershipUser AsConcreteMembershipUser(this IMember member)
 {
     var membershipMember = new UmbracoMembershipMember(member);
     return membershipMember;
 }
        internal static UmbracoMembershipMember AsConcreteMembershipUser(this IMembershipUser member, string providerName, bool providerKeyAsGuid = false)
        {
            var membershipMember = new UmbracoMembershipMember(member, providerName, providerKeyAsGuid);

            return(membershipMember);
        }
Example #4
0
        internal static MembershipUser AsConcreteMembershipUser(this IMember member)
        {
            var membershipMember = new UmbracoMembershipMember(member);

            return(membershipMember);
        }