private IEnumerable <string> GetRolesForUserWithMembershipAttribute(string username) { using (var user = userEntryAdapter.GetUserEntryAndLoadProperties(username)) { return(GetRoleNamesFromUserEntry(user)); } }
public override MembershipUser GetUser(string username, bool userIsOnline) { using (var user = userEntryAdapter.GetUserEntryAndLoadProperties(username)) { return(membershipUserFactory.Create(user)); } }