直接代码

 query.Query =
                    "<Where>" +
     
                            "<Or>" +
                                "<Membership Type='CurrentUserGroups'>" +
                                    "<FieldRef Name='AssignedTo' />" +
                                "</Membership>" +
                                "<Eq>" +
                                    "<FieldRef Name='AssignedTo' />" +
                                    "<Value Type='Integer'>" +
                                        "<UserID />" +
                                    "</Value>" +
                                "</Eq>" +
                            "</Or>" +
  
        "</Where>";

 

posted on 2012-08-24 18:40  gzh4455  阅读(421)  评论(0编辑  收藏  举报