public override string[] GetRolesForUser(string username) { EWContextDb db = new EWContextDb(); string data = db.Accounts.Where(x => x.Username == username).FirstOrDefault().Role.Name; string[] result = { data }; return(result); }