$().SPServices.SPGetCurrentUser Returning Blank for Non-SiteCollectors

Jul 22, 2014 at 12:59 PM
I am trying to use the above to pull the 'name' Field for the logged in user, so I can use it to populate a field.

My code is as follows:

I have tried:
 var userValues = $().SPServices.SPGetCurrentUser({
        fieldNames: ['Name'],
        debug: false
var user= $().SPServices.SPGetCurrentUser();
When setting it to show an alert on Document.ready it works fine for me as a site collector, but no other users within my site collection can see their account name. It just alerts blank. I have researched every suggestion in this discussion board and some on the net, to no avail.

Is there some permision that the normal users must have to scrape the Uesr Information List? Currently that list has no permissions set, and I am the only one who can see it or manipulate it.

I tried to give all user read to the User Information List, but that did notthing as well,.

What am i missing?

(Using Sharepoint 2010, SPServices 2014-01, and jQuery 1.11.1


Aug 2, 2014 at 5:22 AM
All users should be able to see their own info from the User Information List at /_layouts/userdisp.aspx?force=true. Try just going to that page in the browser. If you're users can't reach it, you have some other issue.