Query Multi-Value People Field

Apr 5, 2012 at 8:30 PM

Hello All,

Is it possible with getListItems and CAML to filter results on a multi-value people field?  I only want to return items where the current user is listed in this field. 

MOSS 2007 / WSS 3

Thanks,

Don

Apr 6, 2012 at 1:00 PM

In your CAML query, use the <User/> tag to ask for rows against the current user... example:

<Eq>
    <FieldRef Name="Owner" />
    <Value Type="Integer">
      <UserID />
    </Value>
</Eq>

Paul.