SPQuery viewQuery = new SPQuery();
SPView customView = list.Views.Add("Simple", viewFields, defaultView.Query, defaultView.RowLimit, defaultView.Paged, true);
view.Query = "<Where><Eq><FieldRef Name=\"AssignedTo\" /><Value Type=\"Integer\"><UserID Type=\"Integer\" /></Value></Eq></Where>";