Saturday, 28 June 2014

Caml query where current user

getWhereUser= "<Eq><FieldRef Name='AssignedTo'/><Value Type='Integer'><UserID/></Value></Eq>";
objCamlStr= "<View><Query><Where>" + getWhereUser + "</Where><OrderBy><FieldRef Name='Modified' Ascending='FALSE' /></OrderBy></Query></View>";