feature fequest: IUserStore interface expand by "FindByName(string username)" method

Topics: ASP.NET MVC, General
Sep 1, 2013 at 2:34 PM
Can team add method, which find user at database by his username?
Becouse i dont know his guid id, when i want to use Users.Find((guid userid).ToString())
now i must manually extend my controllers for this method, as example:
private User GetCurrentUserProfile()
    {
        IdentityDbContext UserDb = new IdentityDbContext();
        User CurrentUser = UserDb.Users.Single(p => p.UserName == User.Identity.Name);
        return CurrentUser;
    }
Thanks for reply