This project has moved. For the latest updates, please go here.

Filter a List Based on User Office

Jan 20, 2012 at 1:34 PM
ionut_huma Wed at 12:14 PM

Hi, how can I filter a sharepoint list based on user Office
var thisUserName = $().SPServices.SPGetCurrentUser({
fieldName: "Office",
debug: false

Jan 20, 2012 at 1:35 PM


You can use the thisUserName in your CAMLQuery with the GetListItems operation or filter in the DOM based on the value. You haven't given any specifics, so it's hard to know what to recommend.