public static bool IsAdmin(int userId) { var user = GetUser(userId); return user.Membership == "Administrator"; }