Membership in caml

<Or>
  <Membership Type=\"CurrentUserGroups\">
    <FieldRef Name=\"AssignedTo\"/>
  </Membership>
  <Eq>
    <FieldRef Name=\"AssignedTo\"></FieldRef>
    <Value Type=\"Integer\">
      <UserID/>
    </Value>
  </Eq>
</Or>

查询包含User或者等于User的数据

 

http://msdn.microsoft.com/en-us/library/aa544234.aspx

posted @ 2013-08-28 15:13  【上海】Peter  阅读(159)  评论(0编辑  收藏  举报