This project has moved and is read-only. For the latest updates, please go here.

Filter a list by a value in a User's profile

Jul 5, 2012 at 5:09 PM

This applies to SPGetCurrentUser.  I would like to replace the functionality of the Current User Filter of SharePoint Server 2010 enterprise.  Can I use this feature of SPServices to filter a list?  I could populate a hidden text box and filter via that value but I am unsure if I can do it asynchronously or if it is possible at all.  Does anyone have insight for me?

Jul 6, 2012 at 6:44 PM


Ity's not really clear what you are trying to do, but if you want to retrieve items from a list based on who the current user is, you can user filtering in the CAML you provide for the GetListItems operation. Keep in mind that this won't be securing, but only obscuring the data.