To fetch the Values in person or group field you can use CAML as given below:
<View><ViewFields><FieldRef Name="PersonFieldName"/></ViewFields></View>
To Query/Filter for particular user on person or group field you can use anyone of below solutions:
<Where>
<Eq>
<FieldRef Name="PersonFieldName"/>
<Value Type="User">User Display Name</Value>
</Eq>
</Where>
Or
<Where>
<Eq>
<FieldRef Name="PersonFieldName" />
<Value Type="Integer">UserID</Value>
</Eq>
</Where>
Or
<Where>
<Eq>
<FieldRef Name="PersonFieldName" LookupId="TRUE"/>
<Value Type="int">UserID</Value>
</eq>
</Where>
You can also use <UserID/>
to get the Id which contains:
Contains the unique ID number of the currently authenticated user of a site, as defined in the UserInfo table of the content database.
Example:
<Where>
<Eq>
<FieldRef Name="PersonFieldName" />
<Value Type="Integer">
<UserID />
</Value>
</Eq>
</Where>
References:
- ViewFields element (List).
- Query schema.
- UserID element (Query).