Title says whole question...
How is possible that survey knows wheather user already responded without author info?
|
Title says whole question... How is possible that survey knows wheather user already responded without author info? |
|||||
|
|
The data is still stored in those author and editor columns, it's just that when it presents it through the API, it changes them to stars. If you are wanting to view it through the UI, in the list settings you can always change the setting to show user names in the survey results to see the users real quick and then switch it back. Through code here's how I determined if someone could respond to a survey a long time ago (SP 2003/2007 days).
I want to say with SP 2010, i just decided to pull back the dataset as the currently logged in user and see if it was empty. My code then changed to this:
I'm not sure if the SP 2010 code will work in all cases... |
||||
|